xpath
xmllint --shell --noent MAIN.suse-openstack-cloud.xml
/ > setns docbook=http://docbook.org/ns/docbook
/ > setns xi=http://www.w3.org/2001/XInclude
xpath /docbook:set/xi:include/@href
Object is a Node Set :
Set contains 4 nodes:
xpath
xmllint --shell --noent MAIN.suse-openstack-cloud.xml
/ > setns docbook=http://docbook.org/ns/docbook
/ > setns xi=http://www.w3.org/2001/XInclude
xpath /docbook:set/xi:include/@href
Object is a Node Set :
Set contains 4 nodes:
QT_AUTO_SCREEN_SCALE_FACTOR=0
From your local machine, run the remote backup command:
ssh pi@xx.x.x.xx "sudo dd if=/dev/mmcblk0 bs=1M | gzip -" | dd of=/path/to/pibackup.gz
After 47min 21sec, in my case, got this as output:
30436+1 records in
30436+1 records out
31914983424 bytes (32 GB, 30 GiB) copied, 2830.89 s, 11.3 MB/s
Nextcloud’s occ command (origins from “ownCloud Console”) is Nextcloud’s command-line interface.
You can perform many common server operations with occ, such as installing and upgrading Nextcloud, manage users, encryption, passwords, LDAP setting, and more.
occ is in the nextcloud/ directory; for example /var/www/nextcloud on Raspbian. occ is a PHP script.
You must run it as your HTTP user to ensure that the correct permissions are maintained on your Nextcloud files and directories.