Open gjost opened 2 months ago
I ended up adding the following:
ddrremote copy
Wrapper around the git annex copy
command that works with both rsync
and b2
remotes, and which logs metadata about the copy operations.
ddrinventory report
Gathers data from local repositories, Cgit on mits2
, and specified git annes
special remotes to report the state of various parts of the Repository.
git annex copy
.We have a good-enough solution for the time being. Revisit later for something better...
We discovered that
git annex
special remotes for backing up our binary files were not as up-to-date as we thought. This was due to a lack of data about the status of DR collection repositories and their remotes, which led to a breakdown of manual backup processes.ddrremote check
ddrremote check
write script info to log e.g.YYYY-MM-DDTHH:MM:SS ddrremote check ERROR missing hq-backup-gold files/ddr-pc-32-1/files/ddr-pc-32-1-administrative-bd7710419c-a.jpg
ddrremote recap DAYS
command to report what repos were modified withinDAYS
, focusing on repo creation and addition of annex files.