781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
|
# File 'lib/app42/base/help.rb', line 781
def uploadbackup
print <<-DESC
Usage:
app42 uploadBackup
Upload file data into a service
Options:
[--service SERVICE] # Name of service, you want to scale
Example:
$app42 uploadBackup
Enter Service Name: mysqldb
Enter Backup File Path: /home/ubuntu/Downloads/demo_production-27Nov2013.sql
Do you also want to restore uploaded backup? [Yn]: n
Please be patient... This process may take a while to complete.
Uploading Service Backup... OK
Operation is in progress, Please wait...
Backup has been successfully restored.
DESC
end
|