Hi,
thanks to you folks, i have my rsync up and running.
Its backing up from my Freenas by rsync-module to a remote OpenMediaVault server. Pushing.
Also i am backing up my webserver via ssh with ssh-keypair
Now i want to configure incremental backups.
Therefor i search the net and found out, rsync has a nice option called link-dest for this case.
What i want to do:
5 rsync tasks.
1. task full backup on monday to /mnt/data/Backup/backup0
2.-5. task incremental backup tuesday to friday to /mnt/data/Backup/backup1-4
My question is:
I dont know how hardllinks are really handled.
If i OVERWRITE backup0 (on next monday) will the files that backup1-4 are referenced to still work?
If so, will backup1 be as big as backup0 used to be before? and so on....
monday 1.1.15 -> backup0 (size 10mb) full
tuesday 2.1.15 -> backup1 (size 5kb) inc referenced to backup0
wednesday 3.1.15 -> backup2 (size 10kb) inc referenced to backup0
thursday 4.1.15 -> backup3 (size 15kb) inc referenced to backup0
friday 5.1.15 -> backup4 (size 20kb) inc referenced to backup0
monday 8.1.15 -> backup0 (size 10mb) full
what about backup1 to 4 now?
Are they still working? Or are they broken because i overwrote the backup0 ?
If working... is backup1 now 10mb + 5kb? I know, IF this is working, the files changed from monday to tuesday are only available with date-tuesday. Monday is gone for good :D
Hopefully you understand my question and where my concerns are.
Thank you very much
thanks to you folks, i have my rsync up and running.
Its backing up from my Freenas by rsync-module to a remote OpenMediaVault server. Pushing.
Also i am backing up my webserver via ssh with ssh-keypair
Now i want to configure incremental backups.
Therefor i search the net and found out, rsync has a nice option called link-dest for this case.
What i want to do:
5 rsync tasks.
1. task full backup on monday to /mnt/data/Backup/backup0
2.-5. task incremental backup tuesday to friday to /mnt/data/Backup/backup1-4
My question is:
I dont know how hardllinks are really handled.
If i OVERWRITE backup0 (on next monday) will the files that backup1-4 are referenced to still work?
If so, will backup1 be as big as backup0 used to be before? and so on....
monday 1.1.15 -> backup0 (size 10mb) full
tuesday 2.1.15 -> backup1 (size 5kb) inc referenced to backup0
wednesday 3.1.15 -> backup2 (size 10kb) inc referenced to backup0
thursday 4.1.15 -> backup3 (size 15kb) inc referenced to backup0
friday 5.1.15 -> backup4 (size 20kb) inc referenced to backup0
monday 8.1.15 -> backup0 (size 10mb) full
what about backup1 to 4 now?
Are they still working? Or are they broken because i overwrote the backup0 ?
If working... is backup1 now 10mb + 5kb? I know, IF this is working, the files changed from monday to tuesday are only available with date-tuesday. Monday is gone for good :D
Hopefully you understand my question and where my concerns are.
Thank you very much