That just happened to me. my external drive became full half-way through rsnapshot's incremental backup:
rsync: write failed on "<path>": No space left on device (28)
Now I'd like to share a couple of things I learnt from this. ie to repair and limit considerabily chances for such a case to bite me back ;)
Resume a Rsnapshot's interrupted backup
- Delete the last directory (e.g. daily.0)
- Rename consecutive directories (daily.1 -> daily.0, ...); possible script1
- Run the backup as usual (again).
Make sure rsnapshot backups are (well) done
rsnapshot has no pause/stop and resume capabilities (except for limited undocumented "skipped due to rollback plan" 2). Now we can wrap it with a tool that just add these features to rsnapshot.
I've found and began to test
rsnapshot-once3 by Philipp C. Heckel: it's a wrapper for rsnapshot in PHP that:
- works without modifying your rsnapshot's conf
- ensure that daily, weekly and monthly tasks are run only once in the respective time period, via cron
- rollback of failed backup (checks if the last backup was complete; if not the last directory is deleted and consecutive directories are renamed eg daily1. -> daily.0, ...)
Works fine for me: I edited php.ini's
openbase_dir for my backup need and voila, lucky day ^_^ Smoother and more powerful than my previous (cron-based: Anacron or cronwhip) based solution.
Note: slm linked me here from duplicate question: Rsnapshot destination full - how to safely rerun?