Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup policy #259

Open
robbo007 opened this issue May 31, 2023 · 2 comments
Open

Backup policy #259

robbo007 opened this issue May 31, 2023 · 2 comments

Comments

@robbo007
Copy link

Hi,
Does this create a "full" backup at any stage? In the case of a disaster and I need to restore everything would I have to restore every incremental copy in order to get everything back?
Thanks,

@psmanek
Copy link
Contributor

psmanek commented May 31, 2023

Every copy is a full copy. Only new files are incremental, every other file is linked to other copy. So when you restore it will copy all files.

@flyisland
Copy link

@robbo007, this script utilizes rsync --link-dest to implement incremental backups, ensuring that each backup, represented by the date-time folder, is a full copy.

You could refer to this article https://digitalis.io/blog/linux/incremental-backups-with-rsync-and-hard-links/ for more information about the hard-links.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants