cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pdion...@apache.org
Subject [4/4] git commit: mysqldump string: add date and same for all upgrade paths
Date Tue, 30 Sep 2014 13:43:14 GMT
mysqldump string: add date and same for all upgrade paths


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/commit/704ccccd
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/tree/704ccccd
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/diff/704ccccd

Branch: refs/heads/4.4
Commit: 704ccccd9ac8f5bbcda2149bbd34fd7f658f523c
Parents: 26f32f1
Author: Pierre-Luc Dion <pdion891@apache.org>
Authored: Tue Sep 30 09:42:16 2014 -0400
Committer: Pierre-Luc Dion <pdion891@apache.org>
Committed: Tue Sep 30 09:42:16 2014 -0400

----------------------------------------------------------------------
 source/upgrade/upgrade-2.2.14.rst | 4 ++--
 source/upgrade/upgrade-3.0.x.rst  | 4 ++--
 source/upgrade/upgrade-4.0.rst    | 3 ++-
 source/upgrade/upgrade-4.1.rst    | 4 ++--
 source/upgrade/upgrade-4.2.rst    | 4 ++--
 source/upgrade/upgrade-4.3.rst    | 4 ++--
 6 files changed, 12 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/704ccccd/source/upgrade/upgrade-2.2.14.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade-2.2.14.rst b/source/upgrade/upgrade-2.2.14.rst
index ebf37c9..a2a4281 100644
--- a/source/upgrade/upgrade-2.2.14.rst
+++ b/source/upgrade/upgrade-2.2.14.rst
@@ -132,8 +132,8 @@ Upgrade Steps
 
    .. sourcecode:: bash
 
-      # mysqldump -u root -pmysql_password cloud > cloud-backup.dmp
-      # mysqldump -u root -pmysql_password cloud_usage > cloud-usage-backup.dmp
+      $ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
+      $ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
 
 #. Either build RPM/DEB packages as detailed in the Installation Guide,
    or use one of the community provided yum/apt repositories to gain

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/704ccccd/source/upgrade/upgrade-3.0.x.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade-3.0.x.rst b/source/upgrade/upgrade-3.0.x.rst
index bb41090..d73bf3d 100644
--- a/source/upgrade/upgrade-3.0.x.rst
+++ b/source/upgrade/upgrade-3.0.x.rst
@@ -121,8 +121,8 @@ Upgrade Steps
 
    .. sourcecode:: bash
 
-      # mysqldump -u root -pmysql_password cloud > cloud-backup.dmp
-      # mysqldump -u root -pmysql_password cloud_usage > cloud-usage-backup.dmp
+      $ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
+      $ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
 
 #. Either build RPM/DEB packages as detailed in the Installation Guide,
    or use one of the community provided yum/apt repositories to gain

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/704ccccd/source/upgrade/upgrade-4.0.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade-4.0.rst b/source/upgrade/upgrade-4.0.rst
index fd70bda..8d74b45 100644
--- a/source/upgrade/upgrade-4.0.rst
+++ b/source/upgrade/upgrade-4.0.rst
@@ -76,7 +76,8 @@ Database Preparation
 
    .. sourcecode:: bash
 
-      # mysqldump -u root -p cloud > cloudstack-backup.sql
+      $ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
+      $ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
 
 #. Whether you're upgrading a Red Hat/CentOS based system or Ubuntu
    based system, you're going to need to stop the CloudStack management

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/704ccccd/source/upgrade/upgrade-4.1.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade-4.1.rst b/source/upgrade/upgrade-4.1.rst
index 23bba10..7c0d7a3 100644
--- a/source/upgrade/upgrade-4.1.rst
+++ b/source/upgrade/upgrade-4.1.rst
@@ -82,8 +82,8 @@ Backup current database
 
    .. sourcecode:: bash
 
-      $ mysqldump -u root -p cloud > cloud-backup.sql
-      $ mysqldump -u root -p cloud_usage > cloud_usage-backup.sql
+      $ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
+      $ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
 
 #. **(KVM Only)** If primary storage of type local storage is in use, the
    path for this storage needs to be verified to ensure it passes new

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/704ccccd/source/upgrade/upgrade-4.2.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade-4.2.rst b/source/upgrade/upgrade-4.2.rst
index f72d68e..3c651d3 100644
--- a/source/upgrade/upgrade-4.2.rst
+++ b/source/upgrade/upgrade-4.2.rst
@@ -82,8 +82,8 @@ Backup current database
 
    .. sourcecode:: bash
 
-      $ mysqldump -u root -p cloud > cloud-backup.sql
-      $ mysqldump -u root -p cloud_usage > cloud_usage-backup.sql
+      $ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
+      $ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
 
 
 #. **(KVM Only)** If primary storage of type local storage is in use, the

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/704ccccd/source/upgrade/upgrade-4.3.rst
----------------------------------------------------------------------
diff --git a/source/upgrade/upgrade-4.3.rst b/source/upgrade/upgrade-4.3.rst
index 01613d3..7df9c1b 100644
--- a/source/upgrade/upgrade-4.3.rst
+++ b/source/upgrade/upgrade-4.3.rst
@@ -86,8 +86,8 @@ Backup current database
 
    .. sourcecode:: bash
 
-      $ mysqldump -u root -p cloud > cloudstack-backup.sql
-      $ mysqldump -u root -p cloud_usage > cloud_usage-backup.sql
+      $ mysqldump -u root -p cloud > cloud-backup_`date '+%Y-%m-%d'`.sql
+      $ mysqldump -u root -p cloud_usage > cloud_usage-backup_`date '+%Y-%m-%d'`.sql
 
 #. **(KVM Only)** If primary storage of type local storage is in use, the
    path for this storage needs to be verified to ensure it passes new


Mime
View raw message