PDA

View Full Version : syncevolution --restore


kollin
2014-02-05, 18:21
I borked my google calendar with syncevolution and now i want to restore from backup, but it drives me crazy!!

[nemo@localhost calendar]$ syncevolution --restore /home/nemo/.cache/syncevolution/google_+calendar@google_+calendar-2014-02-05-13-50/ --before
ends with

No configuration name specified

What is the configuration name and where to find it? :confused:

nieldk
2014-02-05, 18:30
perhaps in ~/.config/syncevolution/ folder?

kollin
2014-02-05, 18:47
perhaps in ~/.config/syncevolution/ folder?

There is nothing useful there just one config.ini :
# the peer which is used by default in some frontends, like the sync-UI
# defaultPeer =

# Explicitly selects a certain safe password storage.
# Depending on how SyncEvolution was compiled and installed
# the following values are possible:
#
# GNOME
# GNOME Keyring
# KDE
# KWallet
# yes/true/1
# pick one automatically
# no/false/0
# store passwords in SyncEvolution config files
#
# If unset, the default is to pick one automatically if support
# for any kind of password storage was enabled and use the config files
# otherwise. When choosing automatically, GNOME keyring is tried
# first because distinguishing between KDE and GNOME sessions
# automatically is tricky.
#
# Note that using this option applies to *all* passwords in
# a configuration and that the --keyring command line option
# is merely an alias for setting the global property, so setting
# a single password as follows sets both `keyring` and
# `proxyPasswords`, and also moves the other passwords into the
# keyring, even if they were not stored there already:
#
# --keyring --configure proxyPassword=foo
#
# When passwords were stored in a safe storage, their value is set to a single
# hyphen ("-") in the configuration. This means that when running a
# synchronization without using the storage, the password has to be
# entered interactively. The --print-config output always shows "-" instead
# of retrieving the password from the keyring.
# keyring = no

:(

nieldk
2014-02-05, 19:05
you need to tell it the config to use. I never used this tool, but possibly a command like

syncevolution --print-configs

can give you some helps.

kollin
2014-02-05, 19:09
Found it, the proper command is :

syncevolution --restore /home/nemo/.cache/syncevolution/google_+calendar@google_+calendar-2014-02-05-13-50/ --before google-calendar calendar

kollin
2014-02-05, 20:21
you need to tell it the config to use. I never used this tool, but possibly a command like

syncevolution --print-configs

can give you some helps.

Yes and also this:

syncevolution --print-sessions google-calendar


;)

Thank you nieldk!