Skip to content

cr1901/borg-import

This branch is 3 commits behind borgbackup/borg-import:master.

Folders and files

NameName
Last commit message
Last commit date
Jan 10, 2024
Oct 2, 2022
Oct 30, 2020
Jan 17, 2024
Dec 4, 2020
Dec 22, 2016
Dec 22, 2016
Nov 6, 2016
Nov 5, 2022
Nov 6, 2016
Jan 15, 2024
Sep 13, 2018
Jan 10, 2024
Jan 10, 2024

Repository files navigation

What is borg-import?

borg-import converts backups made with other backup software into the format used by BorgBackup.

See borg-import -h for more information.

Potential advantages over manually doing it

Note: we have different importers and some importers may not support all the features.

  • automation: less manual work, import lots of backups into a borg repo with one command
  • automatically makes up borg archive name from what you give + discovered timestamp
  • sets borg archive creation timestamp to the historically correct date/time
  • temporarily moves the source directory so the borg files cache will speed up borg create

Currently supported import formats

Usage: borg-import rsnapshot SNAPSHOT_ROOT BORG_REPOSITORY

See borg-import rsnapshot -h for help.

Simple rsync with hard links

Assumes one folder per archive, with changes being tracked based on last modification time (mtime).

Usage: borg-import rsynchl RSYNC_ROOT BORG_REPOSITORY

See borg-import rsynchl -h for help.

Similar to rsynchl, except with timestamp extraction optimized for rsync-time-backup folder names.

Usage: borg-import rsync_tmbackup --prefix=foo- RSYNC_ROOT BORG_REPOSITORY

See borg-import rsync_tmbackup -h for help.

Backup tools based on rsync with hard links

borg-import should, in principle, be able to import backups from any backup tool that is based on rsync with hard links. This requires that the tool matches the assumptions listed above for simple rsync.

About

importer for rsync+hardlink based backups / rsnapshot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%