| PLEX86 | ||
|
remote server backup script 3049Phantom directories I'm an old (since the mid-'80s) *ix person, and I thought I knew just about everything about its directory structure and rules...but I guess not. This is a bit difficult to explain, so...
Just type away at the command line. Make a backup of whatever you want to make a backup of. When you have DONE it, then put your commands, the ones you used on the command line, in a script. Then examine your script, and replace any particular names such as the files and directories you chose to back up by variables defined at the top of the script. Then you want to think how to generate the values of those variable automatically. So you START by DOING.
Then you know about all I do. Oh, I don't. Tar has a mode it calls "incremental". -g, --listed-incremental F create-list-extract new GNU-format incremental backup but I really don't think you want it (shudder). Mind you, if you would investigate it and see what itt does and then tell me in what way it fails to meet the common mans idea of "incremental" I would be grateful! Then we could send the complaint to the FSF.
Extreme Slowdown Obscurity, linux Output of "lspci grep IDE": 0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2) Output of "uname -a": Linux thor 2.6.8-1-386 #1 Thu... what was wrong with `date`.tgz ?? That's a good START. All I did was do the extra work of looking up the parameters to give to date to make it generate a date in the format YOU specified. But there was nothing wrong with just using "date" on its own for a starter, and you most certainly do know that.
Send an email now, to someone. When you have "figured" out how you did it, add a line like that command you used to the sscript. Good. Then send one when successful. Be happy. Then modify the script to send one when unsuccessful.
"corrected"?
Why not? Maybe, maybe not! Try it and see! What's the matter? Will you be forced to shoot your parents if the the script doesn't do it first time? Having something which does not work is the first step on the road to having something that does work. Who's asking you to sftp anywhere? I'm puzzled. If you can't do something, don't do it! Do something else instead! But if you are dead set on doing something via sftp (why, oh, why?), then you'd better read up on it. I certainly don't want to be involved with it. What's wrong with scp or scat or plain ssh? You'll have to TRY it! When you have difficulties, then is the time to come back, explain the difficulties and the particular point you are stuck on, and ask for help in getting yourself past that point. So far, so good, no? Peter
|
||||
Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||