Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suppose that after starting a rsnapshot backup on my laptop I notice that it will take too long time and that I have to shutdown the laptop in a few minutes.

Is there a way to quit rsnapshot without messing up the running backup and resume it later (for example after rebooting the laptop) without problems?

share|improve this question
1  
I guess this is a complete answer: askubuntu.com/questions/6663/… . But to make it short, the answer is no. – schaiba Feb 3 '13 at 17:22

If you have the output of rsnapshot available, you can safely repeat the rsync command that it used. You do not (and should not) delete hourly.0 if you're going to do this.

For example, on one of my systems this is (almost) what gets run by rsnapshot, so this could be copied and pasted and rerun:

/usr/bin/rsync -avzS --delete --delete-excluded --numeric-ids --fake-super \
    --exclude-from=/usr/local/etc/rsnapshot/EXCLUDE-qnap.inc \
    --rsh=/usr/bin/ssh \
    --link-dest=/backup/Rsync/NewZealand/QNAP/Data/hourly.1/share/ \
    admin@10.11.12.13:/share/ \
    /backup/Rsync/NewZealand/QNAP/Data/hourly.0/share/
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.