Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.