Giter VIP home page Giter VIP logo

Comments (4)

RichardMidnight avatar RichardMidnight commented on June 23, 2024

I think it will work to a samba share... really any available folder.

The pisafe.tmp file is a crude way to see if you are running the current version. It downloads pisafe from the GitHub to pisafe.tmp, then runs it to get the most current version. I suppose I should delete automatically ...

Peace...

from pi-safe.

MardukNT avatar MardukNT commented on June 23, 2024

@ST33LDI9ITAL
From personal experience, yes it is possible to backup to a remote samba/cifs share using PiSafe.
I currently use PiSafe to backup the 'root/active distro' running on my RPi-4b, up to a Synology NAS shared folder.

Here's an example of what switches I use in /etc/fstab on the Pi, to help automount the remote samba/cifs share: //IP.OF.MY.NAS/RPi4-Backups /mnt/synology cifs vers=3.1.1,_netdev,credentials=/home/pi/.nascreds,uid=pi,gid=pi,x-systemd.automount 0 0
Note: The credentials=/home/pi/.nascreds switch is pointing to a text file that contains the two strings of: 'username=' and 'password=' which are needed for authenticating to the samba/cifs share on the Synology.
Note: Change string values to suit your needs.

For PiSafe itself, I'm using this command string to help me capture a backup of the core/active OS on demand and save it up to the network. pisafe backup /dev/sda /mnt/synology/RPiOSLite-BU_'date +"%m-%d-%Y_%I%M%P"'.img.gz
Note: Change string values as needed.

Hope that helps.

from pi-safe.

ST33LDI9ITAL avatar ST33LDI9ITAL commented on June 23, 2024

Got it goin, love it!

from pi-safe.

RichardMidnight avatar RichardMidnight commented on June 23, 2024

Should be resolved in v 1.0.2

from pi-safe.

Related Issues (20)

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.