backdown mirror
Keep a folder (usually part of the archive) copied on another drive, and check the copy now and then.
On this page
backdown mirror [OPTIONS] <COMMAND>backdown mirror add
Start mirroring FOLDER into MIRROR (a folder on another drive)
backdown mirror add [OPTIONS] <FOLDER> <MIRROR>Arguments
<FOLDER>- The folder to keep copied, usually part of the archive.
<MIRROR>- Where the copy goes: a folder on another drive. Neither folder may be inside the other.
Options
--verify-every <VERIFY_EVERY>- Re-read a sample of the mirror every this many days. Default:
30.
backdown mirror list
Mirrors, and how they were when last synced and verified.
backdown mirror list [OPTIONS]backdown mirror sync
Copy what's new or changed (old copies are kept aside; nothing is deleted)
backdown mirror sync [OPTIONS] [ID]Arguments
[ID]- A mirror's number from
backdown mirror list. Without it, every mirror.
backdown mirror verify
Re-read files on the mirror and compare them with the source.
backdown mirror verify [OPTIONS] [ID]Arguments
[ID]- A mirror's number from
backdown mirror list. Without it, every mirror.
Options
--percent <PERCENT>- Share of the files to re-read (a different share each day). Default:
5. --all- Re-read every file.
backdown mirror remove
Stop keeping a mirror (the copies stay where they are)
backdown mirror remove [OPTIONS] <ID>Arguments
<ID>- A mirror's number from
backdown mirror list.
All of them also take the global options --db and --local.
Good to know
A sync never deletes: when a file changed, the mirror's old copy is moved to .backdown-versions/ in the mirror first, and files that exist only on the mirror are kept and counted. The daemon syncs each mirror daily and re-reads a sample on its schedule, whenever both drives are connected.
Examples
backdown mirror add /media/archive/Archive/Mail /media/backup/Mail
backdown mirror list
backdown mirror sync
backdown mirror verify 1 --all
backdown mirror remove 1See also
Last updated · What's released, and what's next