![]() snapshot management, to the snapshot manager. BackupManager performs the two major operations, backup and restore, and passes other operations, mostly related to Commercial use requires per-user licenses available from Free for personal use and commercial trial With that, you should now be on a better footing to go through the doc as well customize it all to your needs.// Copyright (c) Acrosync LLC. Now, you can either use this app in lingon, or, you can create a calendar event that has the app as a notification. open automator and create a new applicationĮxport PATH=/usr/local/bin:$PATH /usr/local/bin/duplicacy-util -f backupName -v -a.I ended up searching and finding a suggestion that worked on my machine. I kept getting a “Error: exec: “duplicacy”: executable file not found in $PATH” no matter what I did. ![]() I was not able to get lingon to work with just the command. Now, you should be able to run duplicacy-util -f BackupName -a and it will run all operations. ![]() #location of repository (the base directory of the backup) repository: /volumes/path/to/repository #location of storage storage: - name: gcd://path/to/backup #number of concurrent threads to use threads: 18 #prune command, what storage to do it on and what values to use #examples copied from #duplicacy prune -keep 1:7 # Keep a snapshot per (1) day for snapshots older than 7 days #duplicacy prune -keep 7:30 # Keep a snapshot every 7 days for snapshots older than 30 days #duplicacy prune -keep 30:180 # Keep a snapshot every 30 days for snapshots older than 180 days #duplicacy prune -keep 0:360 # Keep no snapshots older than 360 days prune: - storage: gcd://path/to/backup keep: "30:360 7:180 1:30" #check command and what storage to do it on check: - storage: gcd://path/to/backup Basic template (tabbing is not represented well here (tabs are important in yaml)):.I am going to put it in the same folder as the global config, $HOME/.duplicacy-util. This can be placed wherever as it is referred to when you run duplicacy-util. This file hold config settings for specific backups.#default values can be found here: duplicacypath: lockdirectory: logdirectory: logfilecount: #conditions when notifications will be sent, and what medium to send them notifications: onStart: onSkip: onSuccess: onFailure: #email to be sent to email: fromAddress: "Donald Duck " toAddress: "Donald Duck " serverHostname: serverPort: 465 authUsername: authPassword: password OR DU_EMAIL_AUTH_PASSWORD BackupName.yaml Template for contents of file (for macos, do not use as-is, change to fit your needs/directories etc.):.It should go in $HOME/.duplicacy-util ($HOME being your base user directory) I use visual studio code for editing code but technically you can edit this in any basic text editor. It is not included, you need to make it yourself. This file is the main config file and settings here apply to all backups. ![]() On windows you need to set env_var to reference it for this effect. This will make it so you can run it by just typing duplicacy-util in the terminal. You can move the file wherever you like but I am going to place it where I have duplicacy in /usr/local/bin.The short version is you need to run chmod a+x on duplicacy-util to make it run. If you are using macos or linux, and don’t know that you need to mark the file as executable read this thread here. Since they are using yaml as their example though, I am going to use that as my starting point.įor this my goal is to run duplicacy every hour, have it email me any errors, and then prune (thin) the backed up data. If you are like me, you don’t know the difference between a yaml and a json. They assume you know how to write config files in whatever format you supposedly like to use. The tl,dr of the explanation on there is that the program needs config files and they don’t provide them in any form. The reason this article exists is because the docs for this look like they were written in one pass.Īlright, with all that out of the way, how do we set this thing up? Going to the github page may have you scratching your head. What is duplicacy-util? A utility that helps with automating the cli version of duplicacy. (fyi, if you are installing it on mac/linux, and getting a “duplicacy: command not found” see this post for how to get it to work) I am using the command line version (CLI) as a replacement for crashplan. What is Duplicacy? It’s a deduplicating (across computers) program with support for many cloud backends. In other words, there will be errors here but I hope some if it helps. I’m just trying to figure out how to use the computer more efficiently and sometimes struggle to find docs for people haven’t been writing their own linux kernels since they were in grade school.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |