Erich Titl wrote:
If you just want to backup the current root image, run something like the following on your firewall box:HiAt 15:58 18.11.2002 +0100, you wrote:I finally have my Bering 1.0 stable box running just the way I like it, booting from the hard drive. Now... what's the easiest way to back it up? I have sftp installed, but it doesn't seem to allow multiple file downloads, and I'd rather not get one... file... at a time.You might want to use scp, it has a -r option.This is something on my toDo list. Should you have a solution soon, let me know, so I can spare the effort :-)I could back it up to floppy, I guess, but I'd rather back it up over the network to a hard drive in another machine.
tar -c `ls -1 / | grep -v proc` | gzip | \
ssh [EMAIL PROTECTED] "cat - >backup.tar.gz"
NOTE: The above includes a hack to exclude the /proc directory, which will also exclude the /proc mountpoint (a bad thing)...for actual use, you'll probably want to make a real exclude file, so you can exclude /proc/*, and keep the /proc mountpoint.
Typically, I'd just use rsync...it's easier to control include/exclude lists with rsync than tar, and it autmoatically tunnels through ssh with the -e ssh switch, but no mention was made of rsync being installed...
--
Charles Steinkuehler
[EMAIL PROTECTED]
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html