Red Mop TOPPOSTED: > > The idea here is that I don't want to leave all of my computers on all the > time. So when they boot up, or if they happen to be on, once per day, it > creates a file on the server via ssh. The server, having detected this file > via inotify, then immediately proceeds to backup the server. This cuts down > on the error messages cron sends me, and also allows for simultaneous > backups. > > I don't want dirvish to run every time any file on the client changes, only > when a specific file is created on server. > > As an example, a computer named monkey creates a file via a cron job > called /tmp/dirvish/monkey, which triggers the server to run dirvish on all > vaults for the computer monkey. Then the computer monkey is turned off for a > week. Cron and dirvish don't freak out and send me notifications for this > time period. Then, when monkey is turned on, it creates the file on boot, > and gets backed up immediately. > > DAD-BLAD YOU TOP POSTERS!!! :) no wonder I couldn't find your post in my reply! I kept cutting it! hahahaha
I do understand what you are trying to do and I think that it is GREAT! You are making a client initiated dirvish backup of said client. Awesome concept, I've thought (in passing) of doing that myself, but only my OSX boxes do cron jobs based on events other than just scheduled times. What OS/DISTRO is your dirvish server? > Either way, I just need to know how to run dirvish and dirvish-expire on a > specific vault via command line. I have the rest figured out. > to run dirvish on a specific vault, it's as simple as dirvish --vault $VAULTNAME and dirvish-expire is the same way.. dirvish-expire --vault $VAULTNAME One could even process each vault in a specific bank by chdir to the bank and running a for loop. for CURRENTVAULT in * ; do dirvish --vault $CURRENVAULT ; done -- Richard _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
