Software :: Rsync Not Working Properly?

Jul 26, 2010

I am trying to remove old / deleted files on the destination server that have been removed from the source server. I am running this command on the source server and don't see any files being deleted at all. I know for a fact that there are old / obsolete files on the destination server (10.1.10.222) that can be removed. Is my command syntax not correct?

Code:
[root@source_srv /]# rsync -zave ssh --delete-after root@10.1.1.223:/home /home/
root@10.1.1.223's password:
receiving file list ... done
sent 11 bytes received 7370869 bytes 545991.11 bytes/sec
total size is 8389138342 speedup is 1138.15

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: .htaccess Working, Rewrite Not Working Properly?

Apr 25, 2011

I had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]

[code]....

View 8 Replies View Related

Software :: Rsync Delete Not Working

Apr 6, 2011

I would like to use rsync to keep the hard drive in my media server synced with my video collection on my linux server. The media server I believe is running some version of linux running samba. I mount the media servers share to a folder on my linux server & use the following command: rsync -a -vv --delete /home/shared/Videos/* /mnt/WDLive/Shearer Files/Movies/

However, it does not delete files on the media server that I delete on the source. I also created a new folder on the source & moved some of the files into it. When I ran rsync again, it created the new folder on the media server, but it recopied all the files from the source again, instead of moving the files which were already on the media server into the new folder, so no I have 2 copies.

View 2 Replies View Related

General :: Rsync - Password-file Not Working ?

May 23, 2011

I made a shell backup script that uses Rsync and I am trying to get rid of the password prompt because it will use a CRON to run. I have set my variable in my shell script at:

PASSWORD_FILE=rsync_password

And the password in that file only takes up 1 line.

However when I run (ignore $DESTINATION)

rsync -aRvz tmp $DESTINATION --password-file=$PASSWORD_FILE

It still gives me the prompt. How can I accomplish this? I cannot allow a prompt and I do not want to have to use keys.

View 1 Replies View Related

Ubuntu :: Rsync Not Working As Intended On Maverick?

Nov 25, 2010

I have a pc that i have upgraded Ubuntu from version 9.10 to 10.04 to 10.10. Now, in Maverick I can not get rsync to work correctly. The delete option does not work and updated files in the source do not get recreated in the destination. Can someone tell me if I'm doing something wrong:

My rsync command and output:

rsync -r -t -v --progress --delete /media/ProDrive2/source /media/destination

sending incremental file list

sent 6122 bytes received 14 bytes 12272.00 bytes/sec
total size is 55193674519 speedup is 8995057.78
Rsync process exit status: 0

View 1 Replies View Related

Programming :: Rsync Script Not Working Correctly

Jan 2, 2010

I have a cron job that runs overnight for a rsync script that backups my home directory to a external hard disk that is connected to the computer via usb 2.0. I also output the results to a log and follow it via tail -f command from a terminal, to monitor it.

Here is the script:
Code:
#!/bin/bash
# backup data on a daily basis via rsync and a cron job
echo
echo backup started `date` >>/home/user/scripts/backup/backuplog
echo
rsync -avh /home/user/ /media/Linux_ext3/
echo
echo backup complete `date` >>/home/user/scripts/backup/backuplog
echo
echo disk used: `du -csh /media/Linux_ext3` >>/home/user/scripts/backup/backuplog
echo
echo disk free: `df -h /media/Linux_ext3` >>/home/user/scripts/backup/backuplog
echo

Two things
- The rsync is doing a complete mirror of my home directory to the usb drive. For example, say I have a .txt file at the root of /home/user. It gets copied over. However I delete the .txt file the next day and if I go to /media/Linux_ext3/, the .txt file is still there.
I was always under the impression that rsync would mirror the two directories, correct?
-For my log, I think it is creating an entry, I think, for each file. Again, was under the impression that rsync would only copy over files that have be updated, correct?

View 5 Replies View Related

Fedora Servers :: Rsync And SELinux: Software Not Working?

Feb 19, 2009

I am using FC 10. I did an rsync to get a software Matlab from the local lan. But Matlab does not work. The error is:

Quote:

License checkout failed.
License Manager Error -96
MATLAB is unable to connect to the license server.

[code]....

I have set SELinux as Permissive for the current enforcing mode, while the default enforcing mode is Enforced. I did rsync in this way:

Code:

rsync mecsmrao@10.16.4.32:/home/pkg/lic/matlab-7.6/ /usr/local/pkgs/matlab_7.6_r2008a/ -avtpog -e ssh

What am i supposed to do?

View 3 Replies View Related

General :: Rsync - Cygwin On XP - Delete Flag Not Working

Aug 4, 2009

I installed cygwin with rsync on a Win XP Machine. My goal is to backup a folder from one hard drive to another (both on XP machine).

I run the following command from a batch file:

Works fine except the --delete flag is not working. Copies everything in source to destination, but doesn't delete some extra files that are present on the destination, but aren't on the source, which it's supposed to. I looked at the rsync man page, and I'm doing everything right... such as not using wildcard.

The same command works perfect on another computer (XP machine; source and dest both on XP machine).

View 1 Replies View Related

Ubuntu :: Vi Not Working Properly?

Dec 21, 2010

Does anyone know why vi text editor would not work. I'm running Ubuntu server with SIP service and apache and when i try to edit config files with vi it gets messy.On the bottom of the screen it would not indicate if I'm in backup mode or not. I won't same changes, and it messes up the layout when you use arrow keys to move between the lines. Also sometimes when I use arrow keys it will insert capital A, B, C or D.

View 5 Replies View Related

Ubuntu :: Can't Get 11.04 Working Properly

Apr 28, 2011

I have a Lenovo W500 ThinkPad. It is running XP on first partition, then Ubuntu. I've tried both 10.10, 11.04 beta 2, and now 11.04 release.With the release I just installed, it seemed OK till reboot-after-install, at which point nothing came up. I rebooted several times and just got errors and kernel panics in the ATI video driver. I also saw a lot of these messages:"udevd[80]: worker [XXX] did not accept message -1 (Connection refused), kill it" URL...

I had download updates on, I'm trying again with a clean install without updates. (Although, I said don't download while installing, and it says it is downloading language packs...?)Now, I also had issues with 10.10, where it would intermittently boot and fail to get video, I'd just be at a tty, and have to reboot and try again. I found it usually got video if I had just booted Windows (XP Pro SP3) beforehand, and not otherwise So what's going on there? Something up with the actual video card? I want to run Gnome anyways, is there a way I can specify that during the install?At any rate, if I can't get 11.04 working properly, I'll have to run 10.10, which I didn't want to do. I'm starting from scratch and wish to start from 11.04 if at all possible.

View 2 Replies View Related

Ubuntu :: 11.04 Not Working Properly?

Apr 29, 2011

So yesterday I upgraded to 11.04 from 10.10 and now when I enter Ubuntu only my background image appears. No files, programs, or anything. It worked right after it rebooted to finish the upgrade but when I turned my computer on this morning I got nothing but background.

View 4 Replies View Related

General :: SCP Is Not Working Properly?

Aug 1, 2010

I've noticed that, I can not copy a file trough scp .here is an example:

[root@Radius ~]# scp 123.txt /etc/logrotate.d/radiusd.log "nasser@192.168.8.46:/tmp"
nasser@192.168.8.46's password:
[root@Radius ~]#

[code]....

View 2 Replies View Related

Ubuntu Servers :: Advanced Rsync - Make The Rsync Set Or Keep The User And Group Affiliations?

Nov 17, 2010

Thought I'd post it here because it's more server related than desktop... I have a script that does:

[Code]....

This is used to sync my local development snapshot with the live web server. There has to be a more compact way of doing this? Can I combine some of the rsyncs? Can I make the rsync set or keep the user and group affiliations? Can I exclude .* yet include .htaccess?

View 6 Replies View Related

Ubuntu :: Can't Rsync Gmail / Run Rsync --recursive --times --perms --links --delete?

Jan 7, 2011

When I run rsync --recursive --times --perms --links --delete --exclude-from='Documents/exclude.txt' ./ /media/myusb/

where Documents/exclude.txt is

- /Downloads/
- /Desktop/books/

the files in those directories are still copied onto my USB.

And...

I used fetchmail to download all my gmail emails. When I run rsync -ar --exclude-from='/home/xtheunknown0/Documents/exclude.txt' ./ /media/myusb/ I get the first image at url.

View 9 Replies View Related

Server :: Rsync Execution - With Crontab - Have Given Full Path To Rsync Too

Apr 12, 2011

I have a tiny shell script to rsync files between two servers and remove the source files.

This script works fine, when it has been initiated manually or even when the rsync command is executed on the command line.

But the same script doesn't work, when I try to automate it through crontab.

I am using 'abc' user to execute this rsync, instead of root, as root login to servers are restricted in all of our servers, by us.

As I mentioned earlier, manual execution works like charm!

When this rsync.sh is initiated through crontab, it runs the first command(chown abc.abc ...) perfectly without any issues. But the second line is not at all executed, and there is no log entry i can find at /mnt/xyz/folder/rsync.log.

View 6 Replies View Related

Software :: Run Rsync To Download Files From A Server Without Rsync Daemon?

Sep 18, 2009

I just tried to sync files from one server to another. After the sync process, I found the files are bigger than original ones.

I looked up the web and found someone mentions the rsync daemon. So I have to run the daemon on one server before I run the rsync?

The command I used is rsync --partial --progress -r source destination

View 1 Replies View Related

Debian :: Webcam Not Working Properly.

May 15, 2011

My computer has been running well for a couple of years with Ubuntu and the Gnome desktop. I use a very cheap webcam from PCWorld PC Line 1.3 Mega Pixels with Cheese and Skype which worked on Ubuntu. The new Ubuntu Unity desktop seems most unintuitive and reading that Ubuntu may not include Gnome for the next release is my reason to make the change to Debian. I am aware Ubuntu is a Debian derivative.

I have installed Debian Squeeze and everything is working properly apart from the webcam. When I open Cheese the webcam works but very slowly although it will not capture video. When I open Cheese > Preferences, I see the Device listed as USB 2.0 Camera (/dev/video0) but greyed out. When I open Skype > Options > Video I see the same greyed out listing but no image appears in the test area.

lsusb    Bus 001 Device 002: ID 0c45:62e0 Microdia MSI Starcam Racer Computer: Gigabyte motherboard with onboard video and sound.

View 4 Replies View Related

Fedora :: Trash Not Working Properly?

Aug 9, 2009

When I delete things from my home directory, or from my desktop,my trash can on the desktop stays empty, and the Empty Trash in the right-click menu stays disabled.The files disappear from view, but the disk space remains labeled as used.The only way I can empty my trash is through the trash on the panel. Weird

View 1 Replies View Related

Fedora :: Gpk-application 2.27.2 Is Not Working Properly?

Oct 23, 2009

I was just trying to install some packages at the gpk-application 2.27.2, but they are not compatible. For some reason I can't install anyting. I have Fedora Leonidas. In another forum they told me that my package installer is not the proper for this version

View 1 Replies View Related

Fedora :: Firefox Not Working Properly

Apr 3, 2010

I'm running fedora 12 64-bit with XFCE desktop. Updated to firefox 3.5.9 yesterday and that hasn't solved my issue... Just recently it is SO slow. I would even say its on ie standards I sometimes sit with pages "loading" only to find that the url soon changes to "search history and bookmarks" and the bottom left corner message says "stopped" - its most unreliable. at first i thought it was my sometimes dodgy internet connection but i have done several speed tests and after waiting ages for the page to load, the speed test comes up with about 2Mbps. This speed is not translated to the speed firefox is loading pages - several times i've had to stop all tabs loading and then reload them just because firefox seems to have forgotten its meant to be looking on the internet and "thinks" putting a message "loading" in the tab will do

View 4 Replies View Related

Ubuntu :: Firefox Not Working Properly

Jan 11, 2010

The navigation buttons in firefox are not working and I can not access File, Edit, View, and History pull down menus. This just started today i think. I have 3.5.pre8 and 3.7 installed. both are affected.

Edit: Actually it is a problem with all apps when window is maximized. I cannot access the first 3 or 4 pull down menus or buttons on the tool bar unless the window is not maximized. This happens with konqueror, firefox and Banshee. Have not tested other apps yet.

Edit2: Upper left corner of desktop is also affected. The icons in this part of the screen are not accessible. seems that anything in that region of the screen is dead. just switched from compiz window manager to metacity and there is a black square in the upper left corner of my screen about 2.5"x 2.5".

View 1 Replies View Related

Ubuntu Installation :: APT Is Not Working Properly

Jan 12, 2010

I can't install software in Karmic - just installed the OS and hooked up to the network, but whenever I 'sudo apt-get install <program>' I get: Couldn't find package <program>I've looked at sources.list and can't find any problems. Is there something else I should look at?

View 2 Replies View Related

Ubuntu :: M And S Key Not Working Properly After Upgrade

May 4, 2010

I upgraded two machines to 10.4 TLS. When I press "s" key, system shutdown menu is displayed, and when I press "m" key, message menu is displayed.

View 4 Replies View Related

Ubuntu :: Touch-pad Is Not Working Properly

Oct 11, 2010

upon the upgrade from 10.04 to 10.10, all upgraded nicely, except for my touchpad, which can't right click anymore, I can use the scroll on the side, and the button-trackpad just functions as a left click.I have an HP Pavilion dv6, with a touchpad like that of the HP Envy, click touchpad, with depressing ends on the bottom and middle respectively for left, middle, and right click.

I submitted a bug report on this when it was in beta, is there a solution to this issue? I use my laptop for work, so I would appreciate a fix... or something I could do aside from uninstalling my Operating System and reinstalling the previous version, which would seem to be a hassle.

View 2 Replies View Related

Ubuntu :: Can't Get Java Working Properly ?

Nov 20, 2010

I can't get java applications to run properly in a lot of cases. I've tried completely removing Java and reinstalling it. I've tried removing Iced Tea and OpenJDK and installing Sun Java instead. I've done a complete, clean reinstall of Ubuntu. The symptoms of my problem never seem to change. Minecraft is the best example I can give you. As soon as the game loads (in the web or on the desktop alike) it closes abruptly. This is what's in the log file.

Code:

I'm thinking "C [+0x416] __kernel_vsyscall+0x2" is important somehow. I can't seem to figure out what it means. I've tested this on a friend's laptop using the same (Ubuntu 10.10) and it works fine, no errors. I know other people are running their java fine.

View 1 Replies View Related

Ubuntu :: Empathy MSN Not Working Properly?

Dec 5, 2010

Has anyone else been getting problems with contacts on MSN not receiving any messages?Works fine for google chat though, having to use Emesene for MSN at the moment, quite annoying.Also sometimes messages seem to double up and notifications too.

View 1 Replies View Related

Ubuntu :: Webcam Isn't Working Properly

Dec 28, 2010

i recently installed guvcview on xubuntu and the window just shows up as a black screen with nothing and according to the uvc website my Logitech QuickCam Communicate Deluxe is supported by linux when i start up guvc the webcam's light turns on so i think its working

View 1 Replies View Related

Ubuntu :: Autofs Not Working Properly?

Apr 24, 2011

I managed to configure autofs5 on my Kubuntu 10.10. I want to use autofs to mount my NAS drive, when I am home(most of the time ) and not bother me when I am away. I mount it in /etc/fstab, but suspend and hibernate does not work correctly, when I am not at home. Now I comment the line which mounts the NAS driveI am still not at home, and decided to try to autofs my flash drive Here is my auto.master

Code:
# directory map
/- /etc/auto.direct --timeout=2 --ghost

[code]....

View 4 Replies View Related

Ubuntu :: Rtcwake Not Working Properly?

Apr 25, 2011

In my laptop pc the following command doesn't work properly

Code:
rtcwake -m disk -s 1500
The pc reboots as usal after 1500 sec

[code]....

View 1 Replies View Related

Ubuntu :: Hibernate Is Not Working Properly

Jul 10, 2011

I've installed Ubuntu Natty on my new lenovo laptop, and hibernate isn't working.Problem: When I click hibernate, the computer shuts down ok. When I boot it again, it seems as if hibernate is resuming (I get the blank purple screen), however the computer restarts again, and now boots as if I had shut it down(ie none of the programs are open).Also, programs (such as google chrome) that were open when I hibernated show that the program did not exit normally.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved