Skip to content

Instantly share code, notes, and snippets.

@janikvonrotz
Last active August 31, 2015 07:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janikvonrotz/676d3ab77d9d48cba73e to your computer and use it in GitHub Desktop.
Save janikvonrotz/676d3ab77d9d48cba73e to your computer and use it in GitHub Desktop.
Ubuntu: Backup server installations #Ubuntu #Markdown

Introduction

This article shows a list of the most important files and folders of your VPC installations, you definitely should backup. It assumes you'll run a daily backup for this ressources.

Requirements

Instructions

As long new versions of your installations are released frequently, it's recommanded to backup data and configuration files only.

Ubuntu

-

duplicity-backup

/etc/duplicity-backup/*

Koken

/var/www/<koken>

MySQL

If you have automysqlbackup running.

/var/backups/mysql/latest/*

Nginx

/etc/nginx/conf.d/*  

Postfix

/etc/postfix/virtual
/etc/postfix/main.cf

Piwik

/var/www/<piwik>/config/*

WordPress

/var/www/<wordpress>/wp-config.php
/var/www/<wordpress>/wp-content/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment