Buy Percona ServicesBuy Now!

should I do apply-log to all output folders?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • should I do apply-log to all output folders?

    When I ran
    # innobackupex /db-backup/ -u root -p password

    I got output in /db-backup like below (successful, of course)
    # ls /db-backup/
    2017-11-05_06-25-51 2017-11-05_06-28-58 #recycle
    2017-11-05_06-28-21 2017-11-05_06-30-37

    I'm thinking of creating a for loop that gets db-backup-`date +%F`_* and apply-log to each folder just after ran full backup on crontab

    Is that the right way to do this?
    Last edited by umarzuki; 11-04-2017, 09:44 AM. Reason: typo

  • #2
    You need to prepare against entire backup folder simply.


    $ innobackupex --apply-log /path/to/BACKUP-DIR
    check https://www.percona.com/doc/percona-...ackup_ibk.html

    Comment

    Working...
    X