Fedora 14 server
I run dirvish to backup every night.
in my master.conf and default.conf for dirvish I exclude /var/backup/**
Every night after the backup completes I see in the tree directory my backup folder which contains every back up that was done. This is a waste of space and time on the server.
What is wrong with my conf files?
I am new to dirvish and fedora and looking for the experts out here to help
my conf files
bank:
/var/backup
exclude:
lost+found/
core
*~
.nfs*
/proc
/sys
/var/backup/**
Runall:
tgcsnet.com 22:00
expire-default: +7 days
expire-rule:
# MIN HR DOM MON DOW STRFTIME_FMT
# * * * * 1 +3 months
# * * 1-7 * 1 +1 year
# * * 1-7 1,4,7,10 1
# * 10-20 * * * +4 days
# * * * * 2-7 +15 days
-bash-4.1# cat /var/backup/tgcsnet.com/dirvish/default.conf
############################################
# ** generated by tgcsnet *do not edit* ** #
############################################
client: tgcs009
tree: /var
xdev: 1
index: gzip
log: gzip
image-default: %Y%m%d
exclude:
/var/cache/apt/archives/*.deb
/var/cache/man/**
/lock/
/cache/
/run/
/lib/php/session/
/spool/postfix/
/tmp/**
/var/tmp/**
/shares/local-only/
/lib/rpm/
/log/
*.bak
/spool/
/var/backup/**
-bash-4.1#
As you can see the bank /var/backup/ is excluded in both conf files.
-bash-4.1# ls -l /var/backup/tgcsnet.com
total 96
drwxr-xr-x 3 root root 4096 Jul 13 11:15 20120713
drwx------ 3 root root 4096 Jul 21 23:08 20120721
drwx------ 3 root root 4096 Jul 23 01:07 20120722
drwx------ 3 root root 4096 Jul 24 22:00 20120724
drwx------ 3 root root 4096 Jul 25 22:00 20120725
drwxr-xr-x 3 root root 4096 Jul 26 23:47 20120726
drwx------ 3 root root 4096 Jul 30 01:16 20120729
drwx------ 3 root root 4096 Aug 5 01:22 20120804
drwx------ 3 root root 4096 Aug 6 03:10 20120805
drwx------ 3 root root 4096 Aug 7 06:07 20120806
drwx------ 3 root root 4096 Aug 8 04:48 20120807
drwx------ 3 root root 4096 Aug 9 04:52 20120808
drwx------ 3 root root 4096 Aug 10 04:39 20120809
drwx------ 3 root root 4096 Aug 11 04:26 20120810
drwx------ 3 root root 4096 Aug 12 04:20 20120811
drwx------ 3 root root 4096 Aug 13 04:10 20120812
drwx------ 3 root root 4096 Aug 14 04:05 20120813
drwx------ 3 root root 4096 Aug 15 04:03 20120814
drwx------ 3 root root 4096 Aug 16 03:49 20120815
drwx------ 3 root root 4096 Aug 17 03:31 20120816
drwx------ 3 root root 4096 Aug 18 04:19 20120817
drwx------ 3 root root 4096 Aug 19 01:15 20120818
drwx------ 3 root root 4096 Aug 19 22:00 20120819
drwxr-xr-x 2 root root 4096 Jul 13 11:15 dirvish
-bash-4.1# ls -l /var/backup/tgcsnet.com/20120819
total 220868
-rw-r--r-- 1 root root 240 Aug 19 22:00 exclude
-rw-r--r-- 1 root root 65530 Aug 19 22:00 fsbuffer
-rw-r--r-- 1 root root 223 Aug 19 22:00 log
-rw-r--r-- 1 root root 226013486 Aug 20 09:54 log.tmp
-rw-r--r-- 1 root root 65530 Aug 19 22:00 rsync_error.tmp
-rw-r--r-- 1 root root 856 Aug 19 22:00 summary
drwxr-xr-x 9 root root 4096 Jul 11 13:47 tree
-bash-4.1# ls -l /var/backup/tgcsnet.com/20120819/tree
total 28
drwxr-xr-x 2 root root 4096 Jun 12 14:34 account
drwxr-xr-x 3 root root 4096 Jul 11 13:47 backup
drwx------ 2 root root 4096 Aug 19 22:00 empty
drwx------ 2 root root 4096 Aug 19 22:00 install
drwx------ 2 root root 4096 Aug 19 22:00 lib
drwx------ 2 root root 4096 Aug 19 22:00 production
drwx------ 2 root root 4096 Aug 19 22:00 tmp
-bash-4.1# ls -l /var/backup/tgcsnet.com/20120819/tree/backup
total 4
drwxr-xr-x 26 root root 4096 Aug 19 22:00 tgcsnet.com
-bash-4.1# ls -l /var/backup/tgcsnet.com/20120819/tree/backup/tgcsnet.com
total 96
drwxr-xr-x 3 root root 4096 Jul 13 11:15 20120713
drwx------ 3 root root 4096 Jul 21 23:08 20120721
drwx------ 3 root root 4096 Jul 23 01:07 20120722
drwx------ 3 root root 4096 Jul 24 22:00 20120724
drwx------ 3 root root 4096 Jul 25 22:00 20120725
drwxr-xr-x 3 root root 4096 Jul 26 23:47 20120726
drwx------ 3 root root 4096 Jul 30 01:16 20120729
drwx------ 3 root root 4096 Aug 5 01:22 20120804
drwx------ 3 root root 4096 Aug 6 03:10 20120805
drwx------ 3 root root 4096 Aug 7 06:07 20120806
drwx------ 3 root root 4096 Aug 8 04:48 20120807
drwx------ 3 root root 4096 Aug 9 04:52 20120808
drwx------ 3 root root 4096 Aug 10 04:39 20120809
drwx------ 3 root root 4096 Aug 11 04:26 20120810
drwx------ 3 root root 4096 Aug 12 04:20 20120811
drwx------ 3 root root 4096 Aug 13 04:10 20120812
drwx------ 3 root root 4096 Aug 14 04:05 20120813
drwx------ 3 root root 4096 Aug 15 04:03 20120814
drwx------ 3 root root 4096 Aug 16 03:49 20120815
drwx------ 3 root root 4096 Aug 17 03:31 20120816
drwx------ 3 root root 4096 Aug 18 04:19 20120817
drwx------ 3 root root 4096 Aug 19 01:15 20120818
drwx------ 3 root root 4096 Aug 19 22:00 20120819
drwx------ 2 root root 4096 Aug 19 22:00 dirvish
-bash-4.1#
As you can see the log file is very large thats because of the backup folder being backed up.
Any help would be appreciated.
Thank you
Tom