Autonomía digital y tecnológica

Código e ideas para una internet distribuida

Linkoteca. nextCloud


To backup NextCloud database, first you need to find out the database name by running the following command on your NextCloud server.

sudo mysql -u root -e "show databases"

As you can see, my NextCloud database name is nextcloud. Once you have identified the NextCloud database name, use mysqldump utility to make a backup like below. Replace red text with your own NextCloud database name.

sudo mysqldump -u root nextcloud-database-name > ~/nextcloud.sql

o back up NextCloud config folder, first cd into Nextcloud installation directory. (Depending on your setup, your Nextcloud installation directory may be different. For example, If you set up Nextcloud with LAMP stack, the directory might be /var/www/nextcloud/. If you set up Nextcloud with LEMP stack, the data directory might be /usr/share/nginx/nextcloud/).

cd /var/www/nextcloud/

Then use tar to back up the config folder.

sudo tar -cpzvf ~/nextcloud-config.tar.gz config/

Run the post-upgrade routine.

sudo -u www-data php7.4 /var/www/nextcloud/occ upgrade

Rclone is a command-line program to manage files on cloud storage. It is a feature-rich alternative to cloud vendors’ web storage interfaces. Over 70 cloud storage products support rclone including S3 object stores, business & consumer file storage services, as well as standard transfer protocols.

he first thing you must do is log into your Nextcloud account. Go to the Contacts app and, in the bottom left corner, click on the Settings gear icon. Click on the menu button (three horizontal dots) and then, from the drop-down menu, click Copy link.

Now head over to Thunderbird and open the Card Book tab. In this window, right-click the left pane and select New Address Book.

In the first window of the wizard select Remote and click Next. In the second window (Figure C), select CardDAV and then paste the URL from Nextcloud in the URL area. Type your Nextcloud credentials below that and click Validate.

Once the validation succeeds, click Next. In the resulting screen, give the Address Book a name, select a color, and then click Next. In the final screen, click Finish, and you’re done.

If the newly created Address Book doesn’t immediately sync, click the Synchronize button, and you’re good to go.