![git annex backup git annex backup](https://git-annex.branchable.com/design/assistant/blog/day_7__bugfixes/profile.png)
Rename the scripts to git-store-metadata and However, etckeeper has some helper scripts which store and Use git annex unlock since direct mode is deprecatedĪs far as I’m aware, git-annex doesn’t track permissions or xattrs (importantįor SELinux). If you make frequent changes to files you should
GIT ANNEX BACKUP UPGRADE
In that case, you should run git annex upgrade git annex init may not initialize the repository with the latest version.(prefixed with git annex) to any configured repository. Git-annex is a location/metadata tracker that’s built on top of git. This has the advantage of not requiring root privileges. For example, on XFCE this would look like: xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/inactivity-on-ac -s 0 Idle:sleep:shutdown but laptop users will find handle-lid-switchĪlternatively, if you choose not to use systemd-inhibit, you can simply adjust the power Per the documentation, itĬan inhibit a variety of operations. Systemd-inhibit on the other hand will prevent the system from suspending You can run fuser -v /path/to/cron.lock to see what processes are holding
GIT ANNEX BACKUP FULL
So place them insideįlock ensures that if there’s a conflict, the monthly (i.e, full backup) job will take Requires privileges, this cannot be a per-user unit. The time format is correct by using systemd calendar. Read man systemd.time for what format OnCalendar takes. The service files should not have an section. To avoid future issues, make sure you have a permanent hostname.
![git annex backup git annex backup](https://www.rsync.net/skin/images/college-circle.png)
If test -f ~/.keychain/(hostname)-gpg-fish Keychain -agents gpg,ssh -gpg2 -eval id_rsa some_gpg_key_id For Bash, this will look like: # Environment variables automatically sourced, no need to do it manually hereĮval `keychain -agents gpg,ssh -gpg2 -eval id_rsa some_gpg_key_id` To invoke Keychain from your shell startup scripts. You need to explicitly specify which keys to use (i.e, id_rsa).
![git annex backup git annex backup](https://schnouki.net/img/thomas-200.png)
Unless specified, Keychain will not start gpg-agent nor use gpg2. Since it’s just a shell script, installation is The latest version at the time of writing At the time of writing, Fedora ships version 2.8.0, Variables ( SSH_AUTH_SOCK, etc.) that can be sourced for non-interactive It will cache your keys and export environment