self-hosting/README.md

17 lines
446 B
Markdown
Raw Normal View History

2017-12-08 01:45:42 +01:00
How-tos
=======
Some tips on how to use this repo.
Mount last backup
-----------------
```bash
2017-12-20 08:25:45 +01:00
borg mount --info --foreground ${REPO_FOLDER} ${MOUNT_POINT} --last 1
2017-12-08 01:45:42 +01:00
```
Create a full installation of the services inside a VM
------------------------------------------------------
```bash
2017-12-20 08:25:45 +01:00
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}"
```