Browse Source

Modify the describe about sftp

Change-Id: I4c439eeeccea2d1bfbac5587747d3d6102d33756
gengchc2 5 months ago
parent
commit
175ca4e74e
1 changed files with 10 additions and 10 deletions
  1. 10
    10
      specs/stein/approved/add-ftp-support-for-freezer.rst

+ 10
- 10
specs/stein/approved/add-ftp-support-for-freezer.rst View File

@@ -124,7 +124,7 @@ REST API impact
124 124
         ]
125 125
     }
126 126
 
127
-* Specifying the storage as ftps, the request Example
127
+* Specifying the storage as ssh(sftp), the request Example
128 128
   in creating job as follows::
129 129
 
130 130
     {
@@ -140,11 +140,11 @@ REST API impact
140 140
                 "max_retries_interval": 6,
141 141
                 "freezer_action": {
142 142
                     "backup_name": "test0003_backup",
143
-                    "storage": "sftp",
144
-                    "ftp_host": "192.177.10.44",
145
-                    "ftp_username": "ftptest",
146
-                    "ftp_password": "pass_test",
147
-                    "ftp_port": 22,
143
+                    "storage": "ssh",
144
+                    "ssh_host": "192.177.10.44",
145
+                    "ssh_username": "ftptest",
146
+                    "ssh_password": "pass_test",
147
+                    "ssh_port": 22,
148 148
                     "container": "/home/sftptest",
149 149
                     "no_incremental": true,
150 150
                     "path_to_backup": "/etc/",
@@ -177,19 +177,19 @@ Other end user impact
177 177
    sudo freezer-agent --path-to-backup /data/dir/to/backup
178 178
    --container /remote-machine-path/ --backup-name my-backup-name
179 179
    --storage ftp --ftp-username ftpuser --ftp-password passwd_test
180
-   --ftp-host 8.8.8.8 --ftp-port 82
180
+   --ftp-host 8.8.8.8 --ftp-port 21
181 181
 
182 182
 * usecase in freezer-agent using ftps as storage::
183 183
    sudo freezer-agent --path-to-backup /data/dir/to/backup
184 184
    --container /remote-machine-path/ --backup-name my-backup-name
185 185
    --storage ftps --ftp-username ftpuser --ftp-password passwd_test
186
-   --ftp-host 8.8.8.8 --ftp-port 82
186
+   --ftp-host 8.8.8.8 --ftp-port 21
187 187
 
188 188
 * usecase in freezer-agent using sftp as storage::
189 189
    sudo freezer-agent --path-to-backup /data/dir/to/backup
190 190
    --container /remote-machine-path/ --backup-name my-backup-name
191
-   --storage sftp --ftp-username ftpuser --ftp-password passwd_test
192
-   --ftp-host 8.8.8.8 --ftp-port 82
191
+   --storage ssh --ssh-username ftpuser --ssh-password passwd_test
192
+   --ssh-host 8.8.8.8 --ssh-port 22
193 193
 
194 194
 Performance Impact
195 195
 ------------------

Loading…
Cancel
Save