Bkup Espo with the .sh is 3.6 GB, maybe bkup just SQL more often

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RockPaperSissors2
    Junior Member
    • Nov 2023
    • 8

    Bkup Espo with the .sh is 3.6 GB, maybe bkup just SQL more often

    Would I have everything I need by doing maybe a once a quarter full backup with backup.sh and then do just SQL backups the rest of the time.
    Would this be an effective backup strategy?

    At this point I've setup a cron job to run backup.sh one day a week but it's 3.6 GB in size.

    What are other people doing ?
    Also, I've read on the forum that if we have to restore a backup that we can put specific files back in for the password hash and the user's will then be able to login.
    Is restoring the hash as mentioned working for everyone ?

    Thanks for any input.
  • Vadym
    Super Moderator
    • Jun 2021
    • 345

    #2
    Hi RockPaperSissors2,

    We recommend making a full EspoCRM backup daily using our official script (backup.sh) for the best safety.
    For the backups to take up less disk space, you can use the following command that will delete all backups older than 7 days before creating a fresh backup:
    Code:
    find /backup_path/ -mtime +7 -type f -delete && bash ./backup.sh /crm_path/ /backup_path/
    Last edited by Vadym; 03-07-2024, 05:46 PM.

    Comment

    • RockPaperSissors2
      Junior Member
      • Nov 2023
      • 8

      #3
      Hi @Vadym,

      Thank you!

      Comment

      Working...