> > What happens if I just ctrl-c the process, and then restart the process? > > Will it resume?
no - but you may try ctrl-z instead. this suspends the foreground process. you can put it running into background with "bg" or get it back into foreground with "fg". may depend on the shell you are using - if unsure try this with a bash you can also send a signal with "kill -STOP <pid>" and continue with "kill -CONT <pid>" but be careful - use at own risk and don`t suspend for too long, because your tcp session would timeout.... when rdiff-backup is really cancelled while running there is no return and rdiff-backup will need to recover first on the next run...... regards roland > -----Ursprüngliche Nachricht----- > Von: "Andreas Olsson" <[EMAIL PROTECTED]> > Gesendet: 13.01.08 23:47:34 > An: [email protected] > Betreff: Re: [rdiff-backup-users] can rdiff-backup be stopped / paused / > restarted? - HOWTO? > > On Sunday 13 January 2008 15:13:30 Lexje wrote: > > I'm trying to backup a complete server over the internet. > > Is it possible to pause, stop / restart rdiff-backup? (To free up / respect > > bandwith limitations) > > > > What happens if I just ctrl-c the process, and then restart the process? > > Will it resume? > > No, I'm afraid that approach won't work. If you abort rdiff-backup halfway > you'll simply end up with a broken repository on the destination. > > If this happens on the first backup you'll simply have to remove/empty your > destination directory and begin from scratch. If you abort a backup to an > existing repository your next run will start by calling an > automatic --check-destination-dir, which will return your repository to the > state it was in before your interrupted transfer. In none of the cases the > interrupted transfer will have done you any good. > > What you can try, if you have enough free space, is to run rdiff-backup > against a local destination and then rsync the repository to its remote > location. Rsync you can always trust to resume properly :-) > > Feel free to take a look at this page in the wiki. It also provides a script > which wraps rdiff-backup and rsync into one. > > http://wiki.rdiff-backup.org/wiki/index.php/BackupUpOnUnreliableLink > > -- > Andreas Olsson > http://www.andreasolsson.se/ > > > <hr> > _______________________________________________ > rdiff-backup-users mailing list at [email protected] > http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users > Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki > __________________________________________________________________________ Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach! Mehr Infos unter http://produkte.web.de/club/?mc=021131 _______________________________________________ rdiff-backup-users mailing list at [email protected] http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
