Announcement

Collapse
No announcement yet.

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

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

  • 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.

  • #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


    • #3
      Hi @Vadym,

      Thank you!

      Comment

      Working...
      X