Search Results

Search: Posts Made By: Orionizer
15,740
Posted By Orionizer
No problem! Hoping this works and, of course,...
No problem! Hoping this works and, of course, will let you know one way or the other. I do believe I've nixed the issue though! :)

I should also state, sorry for being so rusty. The last time...
15,740
Posted By Orionizer
Ok, thanks for that additional info. ...
Ok, thanks for that additional info.

However, looking at the script, I'm thinking this should definitely work, but for some reason, nothing is ever getting copied into the backup directory. It...
15,740
Posted By Orionizer
Ok, so is there another solution? ----------...
Ok, so is there another solution?

---------- Post updated at 06:08 PM ---------- Previous update was at 05:56 PM ----------

I may have found something. I'll post any results.

----------...
15,740
Posted By Orionizer
Using rsync --link-dest pointing to a remote server
Ok, I'm trying to figure out how to reference a remote file using the rsync --link-dest parameter.

Here is the code I have so far:

#
# FILESERVER INCREMENTAL BACKUP SCRIPT
#

# Remove...
3,669
Posted By Orionizer
Actually just found this code online: ...
Actually just found this code online:

DAY6=`date -I -d "2 days ago"`

ssh root@synology1 "if [[ -d /volume1/Fileserver/$DAY6 ]]; then echo Found; fi"

Works!

Thanks!
3,669
Posted By Orionizer
Ok, I tried just to create a test script: ...
Ok, I tried just to create a test script:

DAY6=`date -I -d "2 days ago"`

ssh root@synology1 `if [ -d /volume1/Fileserver/$DAY6 ] then echo "Found" fi`
But I get the following error upon...
3,669
Posted By Orionizer
Using a find command in ssh but using local variables?
I have a script like this (Yes, I know the DAY6 number isn't right - I'm just testing at this point):

DAY0=`date -I`
DAY1=`date -I -d "1 day ago"`
DAY6=`date -I -d "2 days ago"`

if [ ssh...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 09:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy