|
From: Marcos R. <we...@al...> - 2006-08-09 06:45:38
|
perhaps it *could* be done with -M (--multi-volume) I found this in the TAR info: ================================================================== `--info-script=script-name' (`-F script-name') is like `--multi-volume' (`-M'), except that tar does not prompt you directly to change media volumes when a volume is full--instead, tar runs commands you have stored in script-name. This option can be used to broadcast messages such as `Someone please come change my tape' when performing unattended backups. When script-name is done, tar will assume that the media has been changed. ================================================================== it is not clear if you could indicate the size of the volume with -F, but even if that's not possible, perhaps creating a small partition and writing the tgz there would work. (then instead of the broadcast message, one could ftp to the backup server and then rm the local tgz) with ssh conection, I did use -M . In one case to avoid files > 2GB, in another to be able to later download the tgz to a box and put them in CDs. hope it helps Cheers! marcos On Mon, 7 Aug 2006, Jamie Cameron wrote: > On 7/Aug/2006 00:54 Pat Erler wrote .. >> hi jamie, >> >> great! while you are on it, i tested a lot of backup programs which >> support ftp transfers. as i realized, the holy grail seems to be (which >> noone has found yet, i mean, it's the holy grail ;) ) to make a backup >> (and restore btw) to a remote server without firstly creating the whole >> archive locally (so that you don't need +50% free hdd space) > > Hopefully this will be possible .. assuming that the tar command calls me > FTP script in the right way. > >> it could work like this: >> >> 1) start multiple splits backup >> 2) when backup part$1 filesize=x >> 2-1) pause backup >> 2-2) move part$1 to remote server (then delete it) >> 3) goto 1) >> >> for restore, this is what i wrote to one of the developers of a commercial >> solution (which doesn't offer it): >> >> ==cut-- >> - i have a multi-volume tgz backup on an ftp server >> - i have not enough room on the target server (the one on which the >> restoration of the data will happen) to download first all archives and >> than extract them >> >> so what can i do here? ideally i would download the first volume, do a >> >> gunzip -c -S "" ./backup.tar.gzaa |tar -C ./ -xf - >> >> when the first one is extracted i delete it, download the second and so >> on.. >> >> but after the first archive everything comes to a halt with >> >> gunzip: ./backup.tar.gzaa: unexpected end of file >> tar: Read 8667 bytes from - >> tar: Unexpected EOF in archive >> tar: Unexpected EOF in archive >> tar: Error is not recoverable: exiting now >> ==cut-- >> >> which seems to be a limitation in gzip - maybe bzip handles it better.. >> >> anyway, thanks jamie, that you took on the problem, > > I don't think it is possible to do multi-part remote backups anyway, and > almost > certainly won't be possible to do them over FTP.. > > - Jamie > >> PAT >> >> >> >> >> >> >> On Mon, 07 Aug 2006 02:43:13 +0200, Jamie Cameron <jca...@we...> >> wrote: >> >>> On 6/Aug/2006 14:54 Pat Erler wrote .. >>>> hello, >>>> >>>> in my hosting plan i have backup space which i can use with ftp, >>>> unfortunately not with ssh. are there plans to add transferring backups >>>> with ftp to the webmin filesystem backup? or, which custom command could >>>> i use from within the module to transfer my backup file with ftp to >> the >>>> backup server? >>> >>> Hi Pat, >>> That would be a nice feature, but is tricky to implement as the >>> tar and fsdump commands are designed to call ssh or rsh for remote >>> backups.. However, I may be able to hack in support for a command >>> that behaves like ssh, but uses FTP. I'll see if this can be done >>> in the next Webmin release.. >>> >>> - Jamie >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>> your >>> opinions on IT & business topics through brief surveys -- and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> - >>> Forwarded by the Webmin mailing list at >>> web...@li... >>> To remove yourself from this list, go to >>> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> - >> Forwarded by the Webmin mailing list at web...@li... >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > |