[Pkg-owncloud-commits] [owncloud-doc] 05/44: fixing: WARNING: Title underline too short
David Prévot
taffit at moszumanska.debian.org
Sun Dec 15 00:06:45 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch dfsg_clean
in repository owncloud-doc.
commit 9fcd7745c518920c49c8b22f67f58b097d3b7702
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date: Mon Nov 25 09:53:47 2013 +0100
fixing: WARNING: Title underline too short
---
admin_manual/maintenance/backup.rst | 10 +++++-----
admin_manual/maintenance/restore.rst | 8 ++++----
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/admin_manual/maintenance/backup.rst b/admin_manual/maintenance/backup.rst
index eb4a770..8a89376 100644
--- a/admin_manual/maintenance/backup.rst
+++ b/admin_manual/maintenance/backup.rst
@@ -1,5 +1,5 @@
Backing Up ownCloud
-================================
+===================
To backup an ownCloud installation there are three main things you need to retain:
@@ -8,7 +8,7 @@ To backup an ownCloud installation there are three main things you need to retai
#. The database
Backup Folders
-------
+--------------
Simply copy your config and data folder (or even your whole ownCloud install and data folder) to a place outside of
your ownCloud environment. You could use this command:
@@ -16,7 +16,7 @@ your ownCloud environment. You could use this command:
rsync -Aax owncloud/ owncloud-dirbkp_`date +"%Y%m%d"`/
Backup Database
-------
+---------------
MySQL
^^^^^
@@ -26,11 +26,11 @@ MySQL is the recommended database engine. To backup MySQL:
mysqldump --lock-tables -h [server] -u [username] -p[password] > owncloud-sqlbkp_`date +"%Y%m%d"`.bak
SQLite
-^^^^^
+^^^^^^
sqlite3 data/owncloud.db .dump > owncloud-sqlbkp_`date +"%Y%m%d"`.bak
PostgreSQL
-^^^^^
+^^^^^^^^^^
PGPASSWORD="password" pg_dump owncloud -h [server] -U [username] -f owncloud-sqlbkp_`date +"%Y%m%d"`.bak
diff --git a/admin_manual/maintenance/restore.rst b/admin_manual/maintenance/restore.rst
index d5ab85c..a4ab7d9 100644
--- a/admin_manual/maintenance/restore.rst
+++ b/admin_manual/maintenance/restore.rst
@@ -8,7 +8,7 @@ To restore an ownCloud installation there are three main things you need to rest
#. The database
Restore Folders
-------
+---------------
.. note:: This guide assumes that your previous backup is called "owncloud-dirbkp"
@@ -18,7 +18,7 @@ your ownCloud environment. You could use this command:
rsync -Aax owncloud-dirbkp/ owncloud/
Restore Database
-------
+----------------
.. note:: This guide assumes that your previous backup is called "owncloud-sqlbkp.bak"
@@ -30,11 +30,11 @@ MySQL is the recommended database engine. To backup MySQL:
mysql -h [server] -u [username] -p[password] < owncloud-sqlbkp.bak
SQLite
-^^^^^
+^^^^^^
sqlite3 data/owncloud.db .dump < owncloud-sqlbkp.bak
PostgreSQL
-^^^^^
+^^^^^^^^^^
PGPASSWORD="password" pg_restore -c -d owncloud -h [server] -U [username] owncloud-sqlbkp.bak
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git
More information about the Pkg-owncloud-commits
mailing list