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

Added example of borg create using hardlinks to place content in desired location #3731

Closed
wants to merge 1 commit into from

Conversation

cpritcha
Copy link

No description provided.

borg create /path/to/repo::{now} library backup.sql
# Optionally delete the temporary directory
cd ..
rm -rf tmp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for your PR!

not sure we want that in the docs though, because it is stuff outside of borg scope.

basically you just first arrange what you actually want to have backed up and afterwards clean up.

@milkey-mouse
Copy link
Contributor

milkey-mouse commented Mar 27, 2018

Another way to do it that would be kind of neat (especially if you're creating archives programatically like in backup-vm) would be to create & stream a tar archive on the fly to borg import-tar (if it eventually exists, see #2233).

@cpritcha
Copy link
Author

cpritcha commented Mar 27, 2018

Maybe there should be a section in usage > general or in the FAQ about the options for programmatically creating a borg archive instead (using external projects like backup-vm, renaming files and folders, using hardlinks or in the future using borg import-tar?

@cpritcha cpritcha closed this Mar 28, 2018
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

Successfully merging this pull request may close these issues.

None yet

3 participants