self-hosting/README.md
2017-12-20 08:25:45 +01:00

16 lines
446 B
Markdown

How-tos
=======
Some tips on how to use this repo.
Mount last backup
-----------------
```bash
borg mount --info --foreground ${REPO_FOLDER} ${MOUNT_POINT} --last 1
```
Create a full installation of the services inside a VM
------------------------------------------------------
```bash
vagrant up #if your VM already exists it's best to do a vagrant destroy first
ansible-playbook -i staging playbook.yml -e "backup_folder=${REPO_FOLDER}"
```