Displaying 20 results from an estimated 400 matches similar to: "using rsync with scripts (cronjobs) and automated backups"
2009 Feb 23
2
rsync incremental backup
Hi,
Presently I have the latest full backup in a 'current' directory and 30
day incrementals in 'YYYY-MM-DD' format directories. Without changing
that directory structure I'd like the 'YYYY-DD-MM' directories to
contain the full system hardlinked (when applicable) to 'current'.
What rsync command-line options could provide me with this?
Thanks,
2008 May 18
1
Some files vanished...
I run an rsync to backup my mail server ever 4 hours. Sometimes, I
get these sorts of warnings:
Rsyncing...
file has vanished: "/usr/local/virtual/*munged1*/new/
1210876129.43402_0.mail.server.tld"
file has vanished: "/usr/local/virtual/*munged2*/courierimapkeywords/.
4036254.1210876052.43312_0.mail.server.tld"
file has vanished: "/usr/local/virtual/*munged3*/cur/
2009 Feb 11
2
--link-dest=server::location/folder
I'm wondering if I can use link-dest to compare rsync to a remote
directory.
rsync -aCHh --stats --link-dest=akane::backup/ranma.daily.1 /
myserver::akane/ranma.daily.0
Something like that? Is it going to work like it does when doing a
local rsync with a local link-dest directory? Is it going to chew
massive amounts of bandwidth? Is there something else I should be
doing
2008 Nov 14
3
--link-dest but only if rsync detects differences
I'm currently using rsync and --link-dest to give me something like a
poor-man's incremental snapshot to disk. But I really only want to generate
a new backup if rsync detects differences, otherwise I don't need a new
backup.
Currently I do something like this:
rsync -a --delete --link-dest=../backup.previous/ source/ backup.next/
diff -r backup.previous backup.next && rm
2009 Dec 10
1
Help with missing values in the dataset
Dear all,
I am facing problem with inserting the scheduled day of Observation
in the dataset. In the dataset I have only relative time (table 1) and not
scheduled day of observation (day 1, 4, 8, 15, 22, 29, 36, 43).
I would appreciate if any one could suggest me how to proceed.
Eg:
Table 1 The real dataset looks like this with Time, DV ... etc
RTime DV
1 101
4 95
8
2006 Aug 10
2
day, month, year functions
Hi list,
I'm trying to turn a date into something productive. (Not what you may be thinking....)
I want three functions so I could take a "date" object and get the day of week, month, and year from it.
xx <- as.Date("2006-01-05")
month(xx) equal 1
day(xx) equal 5
year(xx) equal 2006
I'm aware of the weekdays() and months() functions in the base package. But
2002 Nov 28
2
rsync as a bakcup tool and the case of rotated logs
Hello,
I use rsync (among many other things) as an incremental backup tool.
Every night I save /{home,etc,var} from several servers. On one of them
we keep 52 weeks of system logs, so each time syslog is rotated all old
syslog.x.gz (where x is between 1 and 213) change names. This impacts
our backup transfers because the incremental snapshot now has to include
all syslog.x.gz files even though
2003 Nov 26
3
Backup with rsync until one month
Hello,
I use rsync in the company to make a backup every 4 hours.
but I would like to do in a way like this, that the rsync make a backup of the changed files until one month long.
EX:- file.bak.001 file.bak.002 .....
This file will be to get always, and so i can get the all files untill an one month old version of the file.
Is it possible?
Regardes
Dipl.-Ing. Nazar Hassan
1999 Jan 13
6
Neuling
Hallo Liste
Derzeit mache ich meine ersten Gehversuche mit Linux (SuSE). Bis jetzt
habe ich in einem kleinen Netzwerk f?r meine Tauchschule vier Rechner
betreut. Einer davon war WinNT-4.0 Server und Arbeitsplatz zugleich.
Nachdem ich nicht mehr bereit bin, mich mit dem w?chentlichen "blue
screen" und dem monatlichen Neuinstallieren von NT abzufinden, bin ich
derzeit beim Umsteigen auf
2004 Nov 24
6
Searching for antilog function
Dear R-users,
I have a basic question about how to determine the antilog of a variable.
Say I have some number, x, which is a factor of 2 such that x = 2^y. I
want to figure out what y is, i.e. I am looking for the antilog base 2 of x.
I have found log2 in the Reference Manual. But I am struggling how to
get the antilog of that.
Any help will be appreciated!
> version
platform
2008 Mar 13
7
Suggestions for basic rsync configuration
Hello,
I am very new to rsync and am wanting to have it back up more than 4 remote
linux servers via ftp. I want to write a script that will open up a ftp
connection using "ftp://username:password@ftp.server.com" with a server,
then mount the drive containing the backups, copy the data that is new,
unmount the drive, close the connection and move onto the next server until
every server
2005 Feb 17
4
Incremental Backups
I read the following hint at:
http://www.mikerubel.org/computers/rsync_snapshots/#Incremental
mv backup.0 backup.1
rsync -a --delete --link-dest=../backup.1 source_directory/ backup.0/
I simply want to maintain a dated backup of a server so that I could
always go back to a certain date. I would like to keep this structure
for each day for the last seven days, then one weekly snapshot for
2008 Jul 28
1
synced files are linked to originals?
I'm very confused. I ran this command:
/usr/local/bin/rsync -aCHh --stats --delete-after --delete-excluded \
--exclude="/backup/" --exclude-from=/var/.rexcludes \
/ /backup/daily.0
then I ran these commands
mail ~ $ ls -ls etc/postfix/main.cf
28 -rw-r--r-- 1 root wheel 28322 Jul 27 16:31 /etc/postfix/main.cf
mail ~ $ ls -ls /backup/daily.0/etc/postfix/main.cf
28
2007 Aug 23
1
two labels on x-axis (year and month)
hej
i'm plotting time-series and label the x-axis as follows:
r <- as.POSIXct(round(range(p1$time), "month"))
to define the time range for labeling the xaxis
plot(p1$time,p1$ p1, type="l", xaxt="n")
plots p1 against time
axis.POSIXct(1, at=seq(r[1], r[2], by="month"), format="%m")
labels the axis in mothly steps.
what I want do do
2006 Jul 07
1
Cronjob / .rb help clearing session table (new to cronjobs)
I just launched my first ROR app and i need to implement the session
database cleanup. I am new to cronjobs. I have used one once but it
was all copy/paste.
I was hoping someone knew of a good tutorial or resource to get started
here or might be able to give me a little help.
I have seen a lot of posts that reference setting a cron job to clear
old sessions but I am not clear on:
Can you
2015 Oct 19
1
Exists some problem with cronjobs under CentOS7 (Partially solved)
On 10/14/2015 06:42 PM, Gordon Messmer wrote:
> On 10/14/2015 07:09 AM, C.L. Martinez wrote:
>> Uhmm ... that is not what I expect:
>>
>> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system
>> /run/user/1000/gvfs
>> Output information may be incomplete.
>> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
>> systemd
2015 Oct 13
1
Exists some problem with cronjobs under CentOS7
On Tue, Oct 13, 2015 at 02:05:47PM +0000, Richard wrote:
>
>
> >> If not triggered, you might want to show your crontab entries.
> >
> > I haven't entries in conrtab's users file at this moment, but I
> > have done a test: * * * * * ls -la, and it is not triggered. But
> > like I say before, installed system cronjobs like logwatch task
> >
2015 Oct 14
1
Exists some problem with cronjobs under CentOS7
On 10/13/2015 04:44 PM, zep wrote:
>
>
> On 10/13/2015 09:54 AM, C. L. Martinez wrote:
>> I haven't entries in conrtab's users file at this moment, but I have
>> done a test: * * * * * ls -la, and it is not triggered. But like I say
>> before, installed system cronjobs like logwatch task are not triggered
>> ...
2015 Oct 12
0
Exists some problem with cronjobs under CentOS7
Because systemwide cronjobs are installed in /etc/cron.* directories, not
in root user cron file..
Eero
11.10.2015 7.39 ip. "C. L. Martinez" <carlopmart at gmail.com> kirjoitti:
> On Sunday, October 11, 2015, Jonathan Billings <billings at negate.org>
> wrote:
>
> > On Oct 11, 2015, at 8:20 AM, C. L. Martinez <carlopmart at gmail.com
> >
2015 Oct 13
2
Exists some problem with cronjobs under CentOS7
On Tue, Oct 13, 2015 at 1:39 PM, Jonathan Billings <billings at negate.org> wrote:
> On Tue, Oct 13, 2015 at 06:24:19AM +0000, C. L. Martinez wrote:
>> For example: logwatch. Logwatch sends a daily email report about
>> system's health. I didn't received this email from October 9th ... and
>> email configuration is ok.
>
> So your problem is that cron jobs