Explain how to backup a server
:+1: for this. I think the command lines used in cozy_management should be documented somewhere as well, maybe in the "step by step" installation guide?
@aeris would you mind writing some lines on how we backup and restore servers? We could put them inside our internal documentation and in our public FAQ.
What is the specific need? A simple doc about how to use the CLI commands or a more detailed one?
We could probably add a section « how to backup and restore your server » to https://docs.cozy.io/en/host/manage.html and describe the few commands to use.
@clochix But it uses the cozy-monitor? They are 2 different cli(s), right? So, which to use when?
Hello @millisami,
For the difference between the two cli, please refer to my answer on the forum.
To backup your server, use cozy_management backup. It will create a backup of your data inside /var/lib/cozy/backups.
To restore your server from an archive, you can use cozy_management restore <backup_filename> && cozy-monitor reinstall-missing-app. The first command will restore the data, the second will reinstall all your applications.
cozy-monitor backup and cozy-monitor reverse-backup are deprecated. They only replicate the database to another server. This implies having another CouchDB server running.