X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=doc%2FBackup%2C-restore%2C-import-and-export.html;h=4d72728e649644ea8c5288c08a1a49e6f9cb2009;hb=5283175367638850d34124afd336ccfcb6884723;hp=5724b689269e44ea5cc0cab81ecca5d9a37c5007;hpb=bb91a8c6e8649d482a552b64c6a0c8e65c6becd7;p=github%2Fshaarli%2FShaarli.git diff --git a/doc/Backup,-restore,-import-and-export.html b/doc/Backup,-restore,-import-and-export.html index 5724b689..4d72728e 100644 --- a/doc/Backup,-restore,-import-and-export.html +++ b/doc/Backup,-restore,-import-and-export.html @@ -4,31 +4,49 @@ - Shaarli - Backup, restore, import and export + Shaarli – Backup, restore, import and export - +
@@ -39,18 +57,25 @@ code > span.er { color: #ff0000; font-weight: bold; }
  • Download
  • Server requirements
  • Server configuration
  • +
  • Server security
  • +
  • Shaarli installation
  • Shaarli configuration
  • +
  • Plugins
  • +
  • Docker
  • Usage
  • How To
  • @@ -62,6 +87,7 @@ code > span.er { color: #ff0000; font-weight: bold; }
  • Directory structure
  • 3rd party libraries
  • Plugin System
  • +
  • Release Shaarli
  • Security
  • Static analysis
  • Theming
  • @@ -79,7 +105,7 @@ code > span.er { color: #ff0000; font-weight: bold; }

    Backup and restore the datastore file

    Backup the file data/datastore.php (by FTP or SSH). Restore by putting the file back in place.

    Example command:

    -
    rsync -avzP my.server.com:/var/www/shaarli/data/datastore.php datastore-$(date +%Y-%m-%d_%H%M).php
    +
    rsync -avzP my.server.com:/var/www/shaarli/data/datastore.php datastore-$(date +%Y-%m-%d_%H%M).php

    To export links as an HTML file, under Tools > Export, choose:

    Example command:

    -
    ./export-bookmarks.py --url=https://my.server.com/shaarli --username=myusername --password=mysupersecretpassword --download-dir=./ --type=all
    +
    ./export-bookmarks.py --url=https://my.server.com/shaarli --username=myusername --password=mysupersecretpassword --download-dir=./ --type=all

    Diigo

    If you export your bookmark from Diigo, make sure you use the Delicious export, not the Netscape export. (Their Netscape export is broken, and they don't seem to be interested in fixing it.)