Comments (5)
Hey Thansks for help.
Following works:
I've add a row into file "calcardbackup", with
export PATH=$PATH:/usr/local/mariadb10/bin
Now I run sudo -u http ./calcardbackup "/volume1/web/nextcloud" and script backups all needed data.
Would it be possible to same with data from Bookmark-App.
from calcardbackup.
Hi BernieO,
thanks for reply.
Your tip is working, too. This will be easier to handle updates ;-)
Thanks for sharing this scripts with us!
from calcardbackup.
The MySQL-Client is either not installed or not in $PATH
. I suspect the latter one.
I don‘t have experience with Synology, but I had a quick look around and it looks like in a Synology-NAS the MySQL-client is installed under /usr/local/mariadb10/bin
.
If you do get a proper version information after invoking
/usr/local/mariadb10/bin/mysql -V
you can add that directory to your $PATH
and your problem will probably be solved. You’ll find plenty of information on how to do that if you search the internet for linux add dir to path
.
Let me know if that worked for you.
from calcardbackup.
Cool - good to hear, you got it working.
I‘ve got another suggestion for you though, because modifying the script itself is a bit inconvenient: you have to edit it again and again after every new release of the script.
Additionally there is actually no need to export PATH
in this case.
This should do the trick for you without adding a line to the script:
sudo -u http PATH="$PATH:/usr/local/mariadb10/bin" ./calcardbackup "/volume1/web/nextcloud"
Please do let me know, if that works for you. I might then add a note to the README for other Synology users.
EDIT:
Would it be possible to same with data from Bookmark-App.
I am sorry, calcardbackup is only designed as tool to backup calendar and contacts data. See #23
from calcardbackup.
Your tip is working, too. This will be easier to handle updates ;-)
Thanks for testing this - I am sure there will be some Synology users who will appreciate it.
Added according section to both READMEs in 4e48f84
from calcardbackup.
Related Issues (19)
- busybox readlink does not support '-m' HOT 3
- Make vendor detection (also) working by using http HOT 4
- not compatible with snap installation HOT 2
- Ubuntu 18.04 - ERROR 1045 (28000): Access denied for user HOT 1
- No result and no output HOT 5
- Support multiple instances installation HOT 3
- Fix PostgrSQL compatibility HOT 4
- Shebang and interop HOT 1
- readlink(1) on non-GNU systems HOT 1
- Nothing is backed up with an empty value for dbtableprefix HOT 2
- problems while backing up address book HOT 4
- Backup can't be encrypted: gpg-agent is not available in this session HOT 1
- Create individual ICS files for calendar entries HOT 4
- doesn't backup "old" calendars HOT 7
- Error when using -r HOT 9
- Setup calcardbackup for a daily CRON job HOT 2
- Backup bookmarks from bookmark app HOT 1
- old contacts can be exported but not reimported 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 calcardbackup.