Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Explain how to backup a server #225

Open
clochix opened this issue Dec 14, 2015 · 6 comments
Open

Explain how to backup a server #225

clochix opened this issue Dec 14, 2015 · 6 comments

Comments

@clochix
Copy link
Contributor

clochix commented Dec 14, 2015

No description provided.

@Phyks
Copy link
Contributor

Phyks commented Sep 19, 2016

👍 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?

@clochix
Copy link
Contributor Author

clochix commented Sep 20, 2016

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

@jsilvestre
Copy link
Contributor

What is the specific need? A simple doc about how to use the CLI commands or a more detailed one?

@clochix
Copy link
Contributor Author

clochix commented Sep 21, 2016

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.

@millisami
Copy link

@clochix But it uses the cozy-monitor? They are 2 different cli(s), right? So, which to use when?

@clochix
Copy link
Contributor Author

clochix commented Dec 1, 2016

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants