LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-09-2016, 03:48 PM   #1
GlowingApple
LQ Newbie
 
Registered: Mar 2008
Posts: 9

Rep: Reputation: 0
Issues with automated deja-dup backups on my server


I have a headless Ubuntu server that I'd like to put on a backup schedule. I can run an X session via VNC (over SSH) and run deja-dup to backup my files. Since I'm backing up files in my home directory and other system files (conf files in /etc, webroot, maildirs, mysql databases, log files, etc), I run deja-dup with gksu.

That works great to run manually from a terminal in a VNC session, but even though I have it set to run daily (set using "gksu deja-dup-preferences"), the backup is never run automatically.

I could set up a cronjob to run the command, but it won't work if not run from a GUI. I briefly looked into duplicity, but I can't figure out how to have duplicity use my deja-dup configuration, and would like to be able to restore files through Nautilus if needed (works with deja-dup, but not sure if this would work with duplicity?).

Any suggestions? Ideally I'd like the backup to be run automatically, without having to worry about logging in to an X session, but have the option to restore files via Nautilus if I need to.
 
Old 11-09-2016, 04:47 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Sounds like a backup solution Rube Goldberg might have come up with.

Surely all your travails should have indicated you are going about this the wrong way. There are innumerable (better) backup options under Linux - especially for servers. Personally I make sure anything I use can be restored if/when the environment it was created under is unavailable. rsync is usually top of the list.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Deja-dup failing teboil12 Linux - Newbie 4 07-19-2015 02:02 AM
deja-dup gets wrong hostname CollieJim Linux - Software 3 06-01-2014 12:52 AM
[SOLVED] Where did Deja-Dup:s control panel go? teboil12 Linux - Software 2 12-30-2013 03:39 AM
How is deja-dup supposed to finish? Doug Hutcheson Linux - Software 0 10-31-2012 01:18 AM
Deja Dup running out of space FellintoOblivion Linux - Newbie 3 08-12-2012 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration