Comments (4)
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.
@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.
Got it goin, love it!
from pi-safe.
Should be resolved in v 1.0.2
from pi-safe.
Related Issues (20)
- pisafe uninstall -y doesn't work if updates available HOT 2
- Backup to samba share ? HOT 10
- Does this bash support backup raspberry system which boot from hdd or usb ? HOT 1
- auto-expand of file system on restore stuck in a reboot loop because of overlay file system HOT 10
- [Question]Is there any possiable to backup without a second SD/USB/HDD? HOT 1
- CLI backup issues HOT 3
- Script does not allow saving to external mounted drive HOT 5
- cron job issue when new version checking HOT 3
- Pisafe stalls on reading sdcard. HOT 16
- Any way to use it on Windows (or WSL)? HOT 6
- Support of ZStandard compression HOT 3
- Problem shrinking Raspi-Endeavouros SDCard. HOT 6
- Ignore specific partitions? HOT 1
- USBoot Backup? HOT 30
- Feature Request: integrate gpg encryption of images HOT 4
- pigz not working HOT 4
- Syntax error on Debian 11. HOT 4
- SD card >16Gb: nothings happens after warning. No backup HOT 3
- On backup, always installing pishink HOT 11
- Time after time HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pi-safe.