From: Yakov Hrebtov <jake@generation.ru> To: community@altlinux.ru Subject: Re[2]: [Comm] rsync и unsafe ссылки Date: Wed, 15 Dec 2004 16:41:43 +0500 Message-ID: <943160535.20041215164143@generation.ru> (raw) In-Reply-To: <20041215112029.GB4490@faa.lan.blok-caf.ru> Здравствуйте, Andrew. Вы писали 15 декабря 2004 г., 16:20:29: >> Да, я хочу чтоб было именно так! >> Только: этот пример не будет работать, если вы будете синхронизировать >> с удаленной машины. AF> Ну, как сказать. Вот: AF> [faqa@faa tmp]$ rsync -av test-rsync proxy2:tmp/ AF> faqa@proxy2's password: AF> building file list ... done AF> test-rsync/ AF> test-rsync/test-out-rsync -> ../test-out AF> test-rsync/test.file AF> wrote 177 bytes read 36 bytes 10.92 bytes/sec AF> total size is 11 speedup is 0.05 AF> [faqa@faa tmp]$ ssh proxy2 AF> faqa@proxy2's password: AF> Last login: Wed Dec 15 10:46:08 2004 from faa.lan.blok-caf.ru AF> [faqa@proxy2 faqa]$ ls -l tmp/test-rsync/ AF> итого 0 AF> -rw-r--r-- 1 faqa faqa 0 Дек 15 14:32 test.file AF> lrwxrwxrwx 1 faqa faqa 11 Дек 15 15:16 test-out-rsync -> AF> ../test-out Я говорил не о копировании НА удаленную машину, а о копировании С удаленной машины -- я это только что проделал, как Вы, т.е. через ssh и у меня тоже получилось. Но я изначально говорил, что синхронизирую с помощью rsync сервера, а не с помощью ssh. Насколько я понимаю -- он чрутится в каталог того модуля из которого происходит синхронизация. видимо проблема проявляется только если ссылка указывает за пределы той ветки, куда зачрутился rsync... >> Чтоб понять мою проблему при синхронизации в пределах одной машины >> попробуйте удалить Ваш файл ../test-out (т.о. разорвите ссылки, >> лежащие в test-rsync/), затем удалите всё в /opt/backup/distrib/tmp/ >> и заново попробуйте >> [faqa@faa tmp]$ rsync -av test-rsync /opt/backup/distrib/tmp/ >> >> после этого >> ls -l /opt/backup/distrib/tmp/test-rsync/ >> >> и увидите, что там не окажется test-out-rsync!!! >> В этом проблема. AF> Да, тут Вы правы. Но мне, честно говоря, не очень понятна необходимость AF> копирования битых ссылок. Я привел простой пример для воспроизведения проблемы без необходимости настройки rsync сервера на source машине.... И потом... сегодня ссылка разорвана, завтра нет... Я испорльзую rsync для резервного копирования и хочу получать идентичную оригиналу структуру каталогов/файлов/ссылок. >> Надеюсь сейчас мне удалось объяснить. AF> Пока чисто умозрительно :) ;-) -- С уважением, Yakov mailto:jake@generation.ru
next prev parent reply other threads:[~2004-12-15 11:41 UTC|newest] Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-12-15 6:37 Yakov Hrebtov 2004-12-15 7:55 ` Andrew Fefilov 2004-12-15 8:00 ` Re[2]: " Yakov Hrebtov 2004-12-15 10:46 ` Andrew Fefilov 2004-12-15 11:06 ` Re[2]: " Yakov Hrebtov 2004-12-15 11:20 ` Andrew Fefilov 2004-12-15 11:41 ` Yakov Hrebtov [this message] 2004-12-15 11:44 ` [Comm] " Michael Shigorin 2004-12-15 11:51 ` Yakov Hrebtov 2004-12-15 12:20 ` Michael Shigorin 2004-12-15 12:32 ` Yakov Hrebtov 2004-12-15 12:34 ` Michael Shigorin 2004-12-15 12:50 ` Yakov Hrebtov 2004-12-15 12:52 ` Michael Shigorin 2004-12-15 13:00 ` Yakov Hrebtov 2004-12-15 13:06 ` Michael Isachenkov 2004-12-15 18:34 ` Michael Shigorin 2004-12-16 4:30 ` Re[2]: " Yakov Hrebtov 2004-12-16 7:27 ` Michael Isachenkov 2004-12-17 19:28 ` Michael Shigorin 2004-12-20 4:51 ` Yakov Hrebtov 2004-12-20 8:06 ` Michael Shigorin 2004-12-20 8:26 ` Yakov Hrebtov 2004-12-15 13:19 ` Mike Lykov 2004-12-16 4:10 ` Re[2]: " Yakov Hrebtov 2004-12-17 19:26 ` [Comm] [JT] " Michael Shigorin 2004-12-15 12:08 ` [Comm] " Andrew Fefilov 2004-12-15 12:25 ` Re[2]: " Yakov Hrebtov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=943160535.20041215164143@generation.ru \ --to=jake@generation.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git