Hello everybody,
I am setuping a new Yunohost installation and I want to design a backup procedure for it.
Which folders and files should I backup in order to be able to restore my Yunohost in full after a reinstall please?
Also in the Backup section of the admin web interface it says it hasn’t been implement yet, but I saw this was made in 2.2 ?
Duplicity is pretty good since it supports encryption and has a ton of backends, like WebDAV, Google Drive, Dropbox and Amazon S3. You can encrypt everything on your server (it’s just gnupg under the hood) and then upload to a cloud storage of your choice.
It’s pretty hard to set up properly, though. And beware of old versions, they’ve changed their command line syntax recently.
How to backup mails ?
I’ve got 2 yunohost servers and want to use each one to backup the other one using duplicity.
I’m on a debian, no conflicts installing duplicity with Yunohost ?
Is /var/mail the only directory to backup ?
I could just copy /var/mail files to a fresh new Yunohost instance and have all my mails (after creating same domain and same users) ?
Now i’m using larch on my PC but want to automate this task.
Hi I am trying to find a solution to make a copy of my YunoHost server on a 4TB HDD, but everytime when I try to execute rsync, there is nothing on the HDD that has been copied! Could someone please tell me how he did it?
I have copied my server files soon using the following command: sudo rsync -avH sourceFolder destinationfolder
(you can remove the ‘v’ (from ‘-avH’ options) if you don’t want a verbose feedback)
I ran that command with the server hard drive mounted (physically!) on another computer. Else, (if you want to run that command directly on your server) you must mount the folder to be copied in read only.
add a crontab entry: “0 3 * * * /root/scripts/doBackup.sh” to backup daily at 3 am
thats it.
What i didn’t to up to now is, stop servers to have no open files, and really think about the directories to backup. should include mysql somehow, maybe dump locally to /root and have it backed up from there.
rsync or unison such as in the tuto of /var/vmail is the good way to do it
but you also need to sync of your dovecot mysql.
if you follow the tuto you could skip the page 3 it’s specific to ISPConfig.
You’re DNS configuration must look like
NAME TYPE TTL PRIORITY DATA main.yunohost.me MX 86400 10 server1.chez.vous backup.yunohost.me MX 86400 20 server2.chez.vous