Results 1 to 2 of 2

Thread: problem with restore

  1. #1

    Default problem with restore

    hello everybody.

    whenever i try to restore, there comes an error probably due to permission problem.


    [root@vegayan50 dailyrun]# mysql-zrm --action restore --backup-set dailyrun --source-directory /var/lib/mysql-zrm/dailyrun/20081006103546/
    restore:INFO: ZRM for MySQL Community Edition - version 2.0
    dailyrun:restore:INFO: Incremental restore done for database Vegayan
    dailyrun:restore:ERROR: could not delete /var/lib/mysql-zrm/dailyrun/20081006103546
    dailyrun:restore:ERROR: Restore failed

    [root@vegayan50 dailyrun]# ls -l -h
    total 20K
    drwx------ 2 root root 4.0K Oct 3 17:38 20081003173746
    drwx------ 2 root root 4.0K Oct 3 17:39 20081003173925
    drwx------ 2 root root 4.0K Oct 6 10:01 20081003180005
    drwx------ 2 root root 4.0K Oct 6 10:22 20081006100002
    drwx------ 2 root root 4.0K Oct 6 10:52 20081006103546
    [root@vegayan50 dailyrun]# chmod 777 20081006103546/
    [root@vegayan50 dailyrun]# ll
    total 24
    drwx------ 2 root root 4096 Oct 3 17:38 20081003173746
    drwx------ 2 root root 4096 Oct 3 17:39 20081003173925
    drwx------ 2 root root 4096 Oct 6 10:01 20081003180005
    drwx------ 2 root root 4096 Oct 6 10:22 20081006100002
    drwxrwxrwx 2 root root 4096 Oct 6 10:55 20081006103546
    drwx------ 2 root root 4096 Oct 6 11:00 20081006110001
    [root@vegayan50 dailyrun]# mysql-zrm --action restore --backup-set dailyrun --source-directory /var/lib/mysql-zrm/dailyrun/20081006103546/
    restore:INFO: ZRM for MySQL Community Edition - version 2.0
    dailyrun:restore:INFO: Incremental restore done for database Vegayan
    dailyrun:restore:ERROR: could not delete /var/lib/mysql-zrm/dailyrun/20081006103546
    dailyrun:restore:ERROR: Restore failed
    [root@vegayan50 dailyrun]# ll
    total 24
    drwx------ 2 root root 4096 Oct 3 17:38 20081003173746
    drwx------ 2 root root 4096 Oct 3 17:39 20081003173925
    drwx------ 2 root root 4096 Oct 6 10:01 20081003180005
    drwx------ 2 root root 4096 Oct 6 10:22 20081006100002
    drwx------ 2 root root 4096 Oct 6 11:09 20081006103546
    drwx------ 2 root root 4096 Oct 6 11:00 20081006110001


    Plzz point out if i am missing something.

    regards,
    nishant

  2. #2

    Default

    hello everybody,

    the problem was occuring bcoz i had used compression while doing backup.

    when i used mysql-zrm-extract-backup and then mysql-zrm-restore it worked nicely.


    regards
    nishant

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •