BIAMI Process - Restore WordPress
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZAA
1
Stage
Generic Task Description
Technical Task Description
Script
2
0Backup WordPress
backup files and mysql database
run_command
runcommand=mkdir ../../../temp/backup/
3
1Download files via FTPftp downloadrun_command
runcommand=../../../plugins/ftp_download/ftp_download/ftp_download_run.sh --context_param host=|||download_host||| --context_param port=|||download_port||| --context_param username=|||download_username||| --context_param password=|||download_password||| --context_param localdir=|||download_localdir||| --context_param remotedir=|||download_remotedir||| --context_param filemask=|||download_filemask|||
download_host=download_port=21
download_username=
download_password=
download_localdir=../../../temp/
download_remotedir=
download_filemask=
4
2Decompressuntarrun_command
runcommand=tar -zxvf ../../../temp/|||backup_filename|||.tar.gz
backup_filename=
5
3Upload Databaserun_command
runcommand=mysql -h |||mysql_host||| -u |||mysql_user||| -p|||mysql_password||| |||mysql_db||| < ../../../temp/backup/database.sql
mysql_host=mysql_user=mysql_password=mysql_db=
6
4Delete Database filerun_command
runcommand=rm ../../../temp/backup/database.sql
7
5Upload via FTPftp uploadrun_command
runcommand=../../../plugins/ftp_upload/ftp_upload/ftp_upload_run.sh --context_param host=|||upload_host||| --context_param port=|||upload_port||| --context_param username=|||upload_username||| --context_param password=|||upload_password||| --context_param localdir=|||upload_localdir||| --context_param remotedir=|||upload_remotedir||| --context_param filemask=|||upload_filemask|||
upload_host=upload_port=21upload_username=upload_password=
upload_localdir=../../../temp/backup/
upload_remotedir=public_html/
upload_filemask=*
8
6Cleanremove files and dirsrun_command
runcommand=rm ../../../temp/backup-$(date +"%Y-%m-%d").tar.gz
9
6run_command
runcommand=rm -rf ../../../temp/backup/*
10
7run_command
runcommand=rmdir ../../../temp/backup
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
Loading...