A
A
asmrnv7772016-06-16 20:06:49
System administration
asmrnv777, 2016-06-16 20:06:49

What software to choose for server backup on Ubuntu?

There are several servers on Ubuntu Server (predominantly 14.04). They either use LAMP or Nginx+Django+Postgres.
I really want to make a normal backup system, but I don't really want to kill several days to figure out how to configure the software. I read guides on some of the most famous systems, it demoralized me a little :)
I myself used to be engaged in system administration of UNIX-like OS, but for quite a short time, I'm still more a developer than an admin.
Maybe there is some good system for creating backups with configuration through the web interface?
PS On servers, of course, there is no GUI, so GUI software will not work.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Andrey Myvrenik, 2016-06-16
@gim0

There is a great project called attic . Efficiently backs up directories, without duplicate data. It can even encrypt with a key.

S
strelmax, 2016-06-16
@strelmax

make a base backup:
pg_dump -U user basename| gzip > ~/backup.pgsql.gz
mysqldump -u user -p password basename| gzip > backup.sql.gz
Directories, server configs via tar

N
neol, 2016-06-16
@neol

Try backupninja. The pseudo-graphic ninjahelper can help with the setup (it seems to come in the same package with backupninja).
Able to backup mysql and postgresql, incremental copying via rdiff-backup, duplicity, rsync, report to the mail about the work done.

D
Dim Boy, 2016-06-17
@twix007

If you are interested in a backup on https://mega.nz/ (50 GB):
https://github.com/t3rm1n4l/megacmd

sudo apt-get install golang golang-go
cd /usr/local/src/
sudo git clone https://github.com/t3rm1n4l/megacmd
cd megacmd
sudo make
sudo cp megacmd /usr/local/bin
sudo nano ~/.megacmd.json

megacmd.json:
{
    "User" : "[email protected]",
    "Password" : "password",
    "DownloadWorkers" : 4,
    "UploadWorkers" : 4,
    "SkipSameSize" : true,
    "Verbose" : 1
}

backup example 1 command:
Upload to mega:
export date=`date +%d_%m_%y` && megacmd mkdir mega:/$date && megacmd sync /home/backup/ mega:/$date

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question