[SAC] [OSGeo] #2231: OSGeo7 Setting up backup
OSGeo
trac_osgeo at osgeo.org
Thu May 2 22:22:42 PDT 2019
#2231: OSGeo7 Setting up backup
---------------------------+---------------------------------------
Reporter: robe | Owner: robe
Type: task | Status: new
Priority: normal | Milestone: Sysadmin Contract 2019-I
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+---------------------------------------
Comment (by robe):
I have setup nextcloud-ubuntu, download, new-secure, nginx to do daily
snapshots and to expire the snapshots 30 days after creation. The
schedule snapshot I had done weeks ago but just put in the the expiry.
We could set it up at the profile level, but I feel a lot of containers
don't need frequent backups - e.g. collabora only changes when I do an
upgrade. Dronie-server is mostly the sqlite database that has the history
is worth recuring backup, though I guess snapthoting it daily won't hurt
since the snapshots do a diff of previous snapshot so would be light
anyway.
Here is an example of setting backup (this one is for new-secure)
{{{
#sets to snbapshot daily at 5:15 PM
lxc config set new-secure snapshots.schedule "15 17 * * *"
#set snapshots newly created to expire in 30 days (must conform to this
regex) ^(\d+)(M|H|d|w|m|y)$
lxc config set new-secure snapshots.expiry "30d"
}}}
I want to discuss in our next meeting the bacula setup as I don't think
all containers need to have a bacula-fd agent so thinking along the lines
of copying say postgresql backups and so forth to osge7 host with a cron
job (which I started creating) osgeo7 would have a bacula agent that picks
these up.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2231#comment:9>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list