Comment to 'ideas on backup and maintenance modes'
  • Hello OneEagle !

    The modern hosting provides automatic files backup by the schedule. So you need to take care of the database backup. Just find the way to regularly launch the following MySQL command:

    mysqldump --defaults-extra-file=/path/.sqlpwd [database] > "$(date '+%F').sql"

    .sqlpwd will have the content like

    [mysqldump]
    user=username

    password=password