Changes

Jump to navigation Jump to search
535 bytes added ,  17:27, 25 September 2020
no edit summary
I tried to mount my local shares to transfer data but kept getting mount error(95): Operation not supported:
mount -o username=researcher,vers=3\.0 //192.168.2.201/bulk /mnt/mother
mount -o username=researcher,vers=3\.0 //192.168.2.201/bulk /mnt/mother
smbclient -m CORE -L 192.168.2.201
This seems to be an smb negotiation issue. See: https://unix.stackexchange.com/questions/144522/mounting-cifs-operation-not-supported
I also tried lowering the protocol requirement on the other end (i.e., on Mother) by editing /etc/samba/smb.conf (setting client min protocol =...) and doing a service smbd restart, but to no avail. Astarte is just too old to support protocols that are now mandatory.
It doesn't seem worth trying to upgrade the necessary components to get samba working again... So, instead, I'm going to back everything up on the box onto a USB hard drive and sneakernet it across.
 
==Backup==
 
I mounted a USB backup drive (using the GUI) and copied off everything that seemed important:
rsync -av --progress /var/www /media/TOSHIBA\ EXT/astarte-2020-09-25/
mkdir /var/lib/mediawiki/backup
cd /var/lib/mediawiki
chown postgres:postgres backup/
su postgres
pg_dump -Fc wikidbmain > backup/wikidbmain_Fc.dump
exit
rsync -av --progress /var/lib/mediawiki /media/TOSHIBA\ EXT/astarte-2020-09-24/
cp /etc/apache2 /media/TOSHIBA\ EXT/astarte-2020-09-24/

Navigation menu