LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2009, 07:46 AM   #1
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Is this possible or am I tripping again?


Mornin, banging some Slayer, slurping coffee, and it's already 4:21! and now I got a dumb question...

I write alot of fiction, etc and sometimes, like an idiot, I write something while I'm grooving on Ubuntu, then later I may switch to Slack and write something else.
Well, somehow I lost a nice story on Ubuntu-either deleted it or I don't know, but it's gone.

My question is complicated- Is it possible to have a Central BackUp folder; so that whenever I create ANY text file in any directory (home, Desktop,etc) it "automagically" creates a backup in this folder?
Not across partitions, but within it's partition?

So, I'm in Ubuntu, at the desktop, I open Gedit and start cranking out some prose, when done I save it to the Desktop and a backup gets sent to
CentralBackup folder automatically.
Can that be done no matter where I tell it to save to-it creates a second one and puts it in the backup folder-you dig?
Thanks and Positive Waves Man
 
Old 05-19-2009, 08:13 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,825
Blog Entries: 1

Rep: Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221Reputation: 1221
Why don't you have a separate partition for your data (including your writings)mounted under both distros? IMO it's much more handy. Then you could create a cron job and to check the contents of your writings directory every 10 minutes and synchronise it with a separate backup directory using eg. rsync. There might be better solutions, though

Last edited by sycamorex; 05-19-2009 at 08:15 AM.
 
Old 05-19-2009, 08:13 AM   #3
arckane
Member
 
Registered: Sep 2005
Location: UK
Distribution: Gentoo/Debian/Ubuntu
Posts: 307

Rep: Reputation: 38
Best option would be to rsync your home folder via cron on a 10 minute cycle or something like that, IMO. Either that or script something to look for new files and put a copy in this specified directory and also call that from cron.

I've not seen anything else that can ghost copy the way you are asking.
 
Old 05-19-2009, 08:18 AM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Normally Gedit creates a backupfile (filename~) if you edit a file that already exist.
In the preferences you can set to create a backup of the file you are using, every x minutes.

However, you can create a cronjob, to backup certain files
 
Old 05-19-2009, 08:25 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,240
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Flyback or timevault can simplify configuring a backup of your data.. uses rsync and standard tools to take data snapshots of your system.

http://flyback-project.org/
https://wiki.ubuntu.com/TimeVault
http://blog.interlinked.org/tutorial...e_machine.html
 
Old 05-19-2009, 08:32 AM   #6
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Original Poster
Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Awesome-I knew you guys would know!

Now, what is "cron" and "rsync"? ( I am a newbie guys )
and thanks alot too.
 
Old 05-19-2009, 08:34 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Now, what is "cron" and "rsync"? ( I am a newbie guys )
Ever tried google ?
 
  


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
LXer: Road-Tripping With Linux LXer Syndicated Linux News 0 11-07-2008 12:10 AM
tripping firewall rate limit, false positive? scattered Linux - Networking 1 09-19-2008 05:23 AM
Linux policy routing issue (am I tripping over a kernel bug?) bjsilva1 Linux - Networking 1 08-28-2008 06:05 AM
Eye of Gnome Image View taking 100% CPU and tripping my thermal sensor MikeyCarter Linux - Software 5 04-28-2008 10:03 AM
Tripping on tripwire? 3inone Linux - Security 3 03-20-2004 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:49 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration