GNOME Bugzilla – Bug 563868
backup / import export feature
Last modified: 2011-08-25 12:48:33 UTC
There needs to be a backuping feature, for a couple reasons: - users that reinstall their operating system (while keeping their home directory) will expect their carefully crafted tasks to be preserved - unless there is a prominent backup feature, they won't intuitively know that their data is stored somewhere else? - useful for copying the same stuff onto multiple computers Bonus points if it can also keep a backup copy automatically into an XDG User directory in the user's home...
It looks like a both functional and relatively simple feature to implement.. as you probably have noticed progress is a little scarce at the moment. I'll try to focus on the x-output-branch - the model (crontab and at records) will change slightly anyway. anyway; it's still alot to do on it :) - gaute
Please see the example script in src/examples/dump.py, it shows how you could export tasks. You could use a similar script for reading tasks. - gaute
Hi, I have added two scripts: gnome-schedule-export and gnome-schedule-import. Invoke them with a file as an argument and your at and crontab tasks will be exported or imported from that file, otherwise stdout or stdin will be used. Please test out, note that no duplicate checking is performed _and_ that this is experimental. I have pushed the changes to the eximport branch: http://git.gnome.org/browse/gnome-schedule/log/?h=eximport Check it out by doing: $ git clone http://git.gnome.org/browse/gnome-schedule $ git checkout -b eximport eximport Best regards, Gaute Hope
With the two new scripts included in the release I consider this fixed. It is not ideal without a GUI for it, but I won't have time for implementing that at the moment. Best regards, Gaute