https://bugs.contribs.org/show_bug.cgi?id=10726

            Bug ID: 10726
           Summary: Add dir /etc/dehydrated with certificate, private key,
                    and other important info to standard backup
    Classification: Contribs
           Product: SME Contribs
           Version: 9.2
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-letsencrypt
          Assignee: jcr...@safeandsoundit.co.uk
          Reporter: tf...@yahoo.com.au
        QA Contact: contribteam@lists.contribs.org
  Target Milestone: ---

See user issue in German forum -
https://forums.contribs.org/index.php/topic,53895.msg280912.html#new 

"Since the reconstruction of the system from a 2-day-old dar-backup failed
because of missing Certifikate, I have rebuilt the server."

Increasing use by users of the letsencrypt contrib will or may see this issue
continue to present.

https://wiki.contribs.org/Letsencrypt#Backup  - The certificate, private key,
and other important information are stored in /etc/dehydrated, which is not
included in the standard SME Server backup routines. Make sure to add this
directory to your backups.

It would be much safer to have the contrib on install add the /etc/dehydrated
dir and all contents to the backup -
https://wiki.contribs.org/Backup_with_dar#Adding_Files_and_Directories

If it doesn't already exist
mkdir -p /etc/e-smith/templates-custom/etc/dar/DailyBackup.dcf

If it doesn't already exist
nano -w /etc/e-smith/templates-custom/etc/dar/DailyBackup.dcf/41go-into

add following line to 41go-into  --go-into /etc/dehydrated

Then expand the template 
expand-template /etc/dar/DailyBackup.dcf

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to