Coder Social home page Coder Social logo

osmc-backup's People

Contributors

graham8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

osmc-backup's Issues

not mounted in /media or /mnt

I had mounted a samba folder with this command
sudo mount -t cifs -o user=pi //192.168.0.60/SouSou /media/SouSou

I can access the ntfs drive and modify all the elements, but when i try to backup I got this:
Fri Aug 2 15:58:49 CEST 2019 Backup version 0.1.10 Going to back up to /media/SouSou/sauvegarde/osmcsalon/2019-08-02 (unless I can't find it). looking for mounted media media for /media/SouSou/sauvegarde/osmcsalon not mounted in /media or /mnt

so is cifs supported or not?

The Readme says CIFS is supported (but no extended attributes) but the comment in script says its not plus it is not specified in the array. So just wanting to confirm if it works with cifs or not?

Undefined variable

Hi

Lines 326 and 327 in osmc-backup refer to "$BACKUPDIRNOW/$source".

There is no defined variable called BACKUPDIRNOW which means it backs up / to /system causing a loop on subsequent backups (backing up /system to /system) and rapidly filling the disk (or card).

I think this means to say "$BACKUPDIR/$NOW/$source".

William

media reported as not mounted while it is definitely mounted

my mounted backup drive does not pass the test for it being mounted.

in osmc-backup I added 2 echo lines after line 126: DRIVE=${BASH_REMATCH[$i]}
echo "Drive = " $DRIVE
echo "findmnt = " $(findmnt -l | grep ^"$DRIVE ")
and changed the backup drive to /media/user/backuposmc

testing the mounted drive:
ls /media/user/backuposmc
...reports back a whole list of files...

sudo ./osmc-backup

reports back the following:
di 27 feb 2024 22:31:27 CET Backup version 0.1.12a
Going to back up to /media/user/backuposmc/2024-02-27 (unless I can't find it).
looking for mounted media

Drive = /media/user/backuposmc
findmnt = /media/user/backuposmc /dev/loop30p1 vfat ro,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro

Drive = /media/user
findmnt =

media for /media/user/backuposmc not mounted in /media or /mnt

Can't find mount

Hi,

I am trying to use this script to backup my osmc SD card to a mounted USB stick, but I am always getting this error:

sudo osmc-backup "USB DISK"
gio 14 mar 2019, 17.58.08, CET Backup version 0.1.9
Going to back up to USB DISK/2019-03-14 (unless I can't find it).
media for USB DISK not mounted in /media or /mnt

the disk is mounted, as findmnt says:

/media/USB DISK /dev/sdb1 vfat rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0111

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.