- I have checked borgbackup docs, FAQ, and open Github issues
- It is a QUESTION
Use case (context)
- I have a local backup repository where there are multiple archives (dailies, weeklies and monthlies archives).
- I would like to have a much smaller offsite backup repository where only the most recent daily archive is copied
Problem
Currently it seems there is no command available in borg to copy archives between repository. (true ?)
Workaround
I've found the following workarounds that all have drawbacks:
- mount the archive i want to copy on the local backup repository (fuse module) and run a borg create on the offsite backup repository. But the fuse module seems not to be designed for that kind of "heavy duty access" (slow)
- "borg extract" the archive on the local backup server filesystem , "borg create" the archive on the offsite server. But it wastes a lot of storage on the local backup server.
- backup directly from the source servers (the backed-up servers) to the offsite server: then the backed-up need to have access directly to the offsite server and they need to be backed-up twice (for the local and the offsite server)
The perfect solution would be a direct copy of the archive from one repository to another using a borg backup command
Questions
Two questions:
- Is there a better workaround for my use case ?
- Is adding a command to copy an archive between two different borg repository feasible ? (I can help)
Use case (context)
Problem
Currently it seems there is no command available in borg to copy archives between repository. (true ?)
Workaround
I've found the following workarounds that all have drawbacks:
The perfect solution would be a direct copy of the archive from one repository to another using a borg backup command
Questions
Two questions: