Is there a terminal-command that backups thunderbird's addressbook?
I would like to set up a cron-entry for that. Note that I only want to back up the address book, not my entire profile.
Mozilla Address Book
Backing up your address books GUI
It is recommended that you regularly make backups of all your Thunderbird application data, including mail files, address books, and account settings, so that you can restore your complete profile(s) if it becomes necessary.
In addition, you may want to occasionally make separate backups of all your address books by exporting them as LDIF files. That way, if your address books ever happen to become corrupted, you will still have a separate backup that you can import into any Thunderbird profile. To do so, export each address book as an LDIF file using the procedure described above and then burn the LDIF files onto a CD-ROM or store them elsewhere for safekeeping.
To export an address book:
Backing up your address books Command-Line
Your address book in stored in your profile to know where is it execute :
Yo could use a bash script. Check this link. There is a script provided that backups your thunderbird directory. This folder should also include your adress book. The author also provides instructions how to setup this script as a cron.
Note: the script backups your complete folder. You should customize this line
to something like this
and it will just backup your adress book file.