-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
Clone and Update Repository #683
Comments
So you would want borg to update an existing backup instead of using prune to delete it? |
No. I am not talking about copying single backups, but about copying a whole repository containing a set of previous backups. I want to copy the whole repository to another disk. There must be something more efficient than: $ rm -rf /mnt/backup_disk_fallback/backup_repo
$ cp -a /mnt/backup_disk/backup_repo /mnt/backup_disk_fallback/backup_repo I thought about using rsync, but I am not sure if this is efficient since I don't know how much the blocks and names change. $ rsync --archive --delete /mnt/backup_disk/backup_repo /mnt/backup_disk_fallback/backup_repo |
I missed that one. I'm sorry for bothering you with this frequently asked question. |
No problem, it is a relatively new entry and might be not visible in the stable docs you read. |
Is there a way to clone and update/sync a repository, since there is no redundancy?
My scenario: I create daily backups of my machine to a repository on another disk. Every once in a while, I want to copy this repository to yet another disk. Deleting the old copy and creating a new one on each backup-of-the-backup is a waste of time. It would be nice to have a clone/update function, that simply updates an existing clone of a repository.
The text was updated successfully, but these errors were encountered: