After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 563868 - backup / import export feature
backup / import export feature
Status: RESOLVED FIXED
Product: gnome-schedule
Classification: Other
Component: general
2.1.0
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Schedule Maintainers
GNOME Schedule Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-09 15:50 UTC by Jean-François Fortin Tam
Modified: 2011-08-25 12:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2008-12-09 15:50:46 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...
Comment 1 Gaute Hope 2008-12-10 14:48:14 UTC
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
Comment 2 Gaute Hope 2010-08-27 11:34:20 UTC
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
Comment 3 Gaute Hope 2011-06-11 12:40:56 UTC
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
Comment 4 Gaute Hope 2011-08-25 12:48:33 UTC
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