remove verbosity

This commit is contained in:
Ray Elliott 2020-09-13 21:05:05 +01:00
parent 0e526b2454
commit 114a10445f
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ time="$(date +%s)"
echo "backing up to $base_filename"
ssh "$remote_ssh" mkdir "/tmp/$base_filename"
ssh "$remote_ssh" tar -cvzf "/tmp/$base_filename/$base_filename.tar" "$remote_wp_path/wp-content"
ssh "$remote_ssh" tar -czf "/tmp/$base_filename/$base_filename.tar" "$remote_wp_path/wp-content"
wp db export "/tmp/$base_filename/$base_filename.sql" --ssh="$remote_ssh$remote_wp_path" --add-drop-table
scp -r "$remote_ssh:/tmp/$base_filename" . && ssh "$remote_ssh" rm -r "/tmp/$base_filename"