Hallo,
warum ist in 5.0i der rsync daemon abgeschaltet ? In der Datei /etc/default/rsync ist der Eintrag RSYNC_ENABLE=false und ich kann von aussen nicht auf den rsync-Dienst zugreifen.
Hardware: Raspberry Pi 2 mit aktuellem Image 5.0f, aktualisiert auf 5.0i
Gruss
Matthias
5.0i rsync daemon abgeschaltet ?
Moderator: Mattk
Re: 5.0i rsync daemon abgeschaltet ?
Haben Sie dieses rsync daemon am laufen?
Regards / Grüß,
Geert - ON1DQD
Geert - ON1DQD
- Manhart
- Senior Boarder
- Posts: 63
- Joined: Wed Sep 03, 2008 11:41 am
- Location: 8312 Winterberg - Switzerland
- Contact:
Re: 5.0i rsync daemon abgeschaltet ?
Bis heute läuft der rsync daemon auf meinem Meteohub (5.0k) nicht. Gruss Matthias
Re: 5.0i rsync daemon abgeschaltet ?
Wie kan man einen automatischer Backup machen zu einer FTP-Server?
Regards / Grüß,
Geert - ON1DQD
Geert - ON1DQD
- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: 5.0i rsync daemon abgeschaltet ?
Hi,ON1DQD wrote:Wie kan man einen automatischer Backup machen zu einer FTP-Server?
You can use /usr/bin/ncftpput and schedule it from cron.
Ysbrand
Re: 5.0i rsync daemon abgeschaltet ?
I'm not so familiar with cron, can you give an example how it schould look like?YJB wrote:Hi,ON1DQD wrote:Wie kan man einen automatischer Backup machen zu einer FTP-Server?
You can use /usr/bin/ncftpput and schedule it from cron.
Ysbrand
Regards / Grüß,
Geert - ON1DQD
Geert - ON1DQD
- YJB
- Platinum Boarder
- Posts: 387
- Joined: Thu Feb 19, 2009 5:53 pm
- Location: Venhuizen, Netherlands
- Contact:
Re: 5.0i rsync daemon abgeschaltet ?
Hi,
In the most basic from you will be looking at:
This will run a script called /root/backup.sh on every day of the week at 11:55 (morning and midnight).
There are five --space separated-- fields that will tell cron when to run a script/command followed by the actual command:
The script itself will contain the ncftpput commands (and other stuff) that you want to run.
While you can run the script at any time, it would make sense to schedule it in such a way that it doesn't conflict with the aggregates that meteohub is running on a regular basis.
HTH
Ysbrand
In the most basic from you will be looking at:
Code: Select all
55 11,23 * * * /root/backup.sh
There are five --space separated-- fields that will tell cron when to run a script/command followed by the actual command:
Code: Select all
# ┌───────────── min (0 - 59)
# │ ┌────────────── hour (0 - 23)
# │ │ ┌─────────────── day of month (1 - 31)
# │ │ │ ┌──────────────── month (1 - 12)
# │ │ │ │ ┌───────────────── day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)
# │ │ │ │ │
# │ │ │ │ │
* * * * * <command>
While you can run the script at any time, it would make sense to schedule it in such a way that it doesn't conflict with the aggregates that meteohub is running on a regular basis.
HTH
Ysbrand
Re: 5.0i rsync daemon abgeschaltet ?
To get rsync to run do this:
1. vi /etc/default/rsync
2. change "RSYNC_ENABLE=false" to "RSYNC_ENABLE=true"
1. vi /etc/default/rsync
2. change "RSYNC_ENABLE=false" to "RSYNC_ENABLE=true"