0

I created a python script to do an incremental backup strategy on seven days whith a full backup on Sunday, using the command : tar

I have no probleme to generate my differents backups. However, I've got an issue during trying to restore an incremental backup with this message error :

tar: Cannot rename `./path1' to `./path2': No such file or directory
tar: Exiting with failure status due to previous errors

My backups strategy run for a jenkins service.

Do you why I've got this error message which stop my restore. And do you know how to fix it

1 Answer 1

1

The short answer is: DO NOT use GNU's tar for incremental backups.

The long answer is, - there is pretty old bug that won't allows to restore incremental archives reliably. The bug still exists and reported multiple times since 2004.


References:

stackexchange 01,stackexchange 02,

Ubuntu-Lunchpad,

GNU 01, GNU 02, GNU 03,

Debian

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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