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

Siju George sgeorge.ml at gmail.com
Mon Apr 26 02:06:09 PDT 2010


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





More information about the Users mailing list