DragonFly BSD
DragonFly users List (threaded) for 2010-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

pfs-update code does not check if 'snapshots' directory exists


From: Siju George <sgeorge.ml@xxxxxxxxx>
Date: Mon, 26 Apr 2010 14:32:56 +0530

Hi,

dfly-bkpsrv# hammer pfs-update mysql-hot prune-min=4d label="Daily
backup of MySQL DB with histroy retained for 4 days"
snapshots=/Backup2/mysql-daily-bak
mysql-hot
    sync-beg-tid=0x0000000000000001
    sync-end-tid=0x00000001d7bb29d0
    shared-uuid=7b22b9b9-5111-11df-8e52-011617202aa6
    unique-uuid=7b22b9d8-5111-11df-8e52-011617202aa6
    label="Daily backup of MySQL DB with histroy retained for 4 days"
    snapshots="/Backup2/mysql-daily-bak"
    prune-min=4d
    operating as a MASTER
dfly-bkpsrv# ls -l /Backup2/mysql-daily-bak
ls: /Backup2/mysql-daily-bak: No such file or directory
dfly-bkpsrv# mkdir /Backup2/mysql-daily-bak
dfly-bkpsrv# ls -l /Backup2/mysql-daily-bak
total 0


Is it a bug or was this done on purpose?

Thanks

-Siju



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]