August 2016
Beginner to intermediate
665 pages
14h 11m
English
Let's see whether our two programs play nicely together and what affects the code inside our backup package. You may want to open two terminal windows for this, since we'll be running two programs.
We have already added some paths to the database, so let's use backup to see them:
./backup -db="./backupdata" list
You should see the two test folders; if you don't, refer back to the Adding paths section.
= ./test [Not yet archived] = ./test2 [Not yet archived]
In another window, navigate to the backupd folder and create our two test folders called test and test2.
Build backupd using the usual method:
go build -o backupd
Assuming all is well, we can now start the backup process being sure to point the db path to the same path as ...
Read now
Unlock full access