search for: snapshotdir

Displaying 3 results from an estimated 3 matches for "snapshotdir".

Did you mean: snapshotsdir
2010 Mar 31
3
[PATCH] Remove v2v-snapshot
...## -## Helper functions - -sub _get_pool -{ - my ($vmm) = @_; - - # Look for the v2v-snapshot storage pool - my $pool; - eval { - $pool = $vmm->get_storage_pool_by_name('v2v-snapshot'); - }; - - # If it wasn't there, try creating it - if($@) { - my $snapshotdir = $datadir.'/snapshots'; - - unless (-d $snapshotdir) { - unless(mkdir($snapshotdir)) { - print STDERR user_message(__x("Unable to create snapshot ". - "directory {dir}: {error}", -...
2014 Jul 29
2
[Bug 10748] New: 3.1.0 and 3.1.1 create all dirs on target even with --prune-empty-dirs
...sedir, as in "--compare-dest" in below args... : <rsync command> arglist = qw( --8-bit-output --acls --archive --hard-links --human-readable --no-inc-recursive --one-file-system --prune-empty-dirs --whole-file --xattrs ), "--compare-dest=$base_lvh->fs_mp/.") <snapshotdir> <diffdir> Unfortunately, it's creating *ALL* of the dirs on the source, changed or not. After the above was run, the "diffdir" contained 560515 dirs, of which 386220 were empty. Deleting them freed up almost 300MB on a 600MB "diff". *ouch*. This breaks (I'm...
2002 Dec 12
2
rsync snapshot problem deleting files
...for no good reason (ie. they still exist on the source machine). Then, if I run it again right away, it gets the files anew. Most is the same as Mike's script, here is the relevant rsync: $RSYNC -va --delete --delete-excluded --exclude-from="$EXCLUDES" --stats $BACKUPMOUNT/ \ $SNAPSHOTDIR/$SHARE/snap.0 > $BACKUPDIR/${BACKUPHOST}.output 2>&1 ; : excludes : RECYCLER/ System Volume Information/ : mounted drive ($BACKUPMOUNT) is : $MOUNT -o ro -t smbfs //$BACKUPHOST/$SHARE $BACKUPMOUNT -o username=$USERPASS ; And here, from my log of the output, from two back-to-back runs...