Re: Backup Directory

Riza Dindir <[email protected]> Sun, 8 Mar 2026 06:31:35 +0300
Newsgroups gmane.editors.vim
Message-ID <CA+ek4BFdcJQnfB1Dt7WMQFEFk0L5_Vs1SL-iFTswE34DNH-BYA@mail.gmail.com>
--00000000000088816d064c7adfc1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello Christopher,

As Eric Marceau pointed out, the double forward slash (//) in the path (
"backupdir"=3D//etc/.backup) might be a problem.

Also the double quotes in "backupdir"=3D//etc/.backup might be a problem. I
would use "set backupdir=3D/etc/.backup" (without the double quotes) in the
~/.vimrc file or wherever your rc file is. I have something similar in my
settings file: "set bakupdir=3D/tmp" (without the double quotes).

The other thing might be that you have to create the /etc/.backup
directory, and you might need write permissions to that directory. It is
odd to use the /etc directory for this IMHO. It might be a good idea to
move this to the home folder of your choosing (as Badli al Rashid has
suggested). This can be something like ~/tmp/.backup or something else...

Regards

On Sun, Mar 8, 2026 at 5:00=E2=80=AFAM Christopher <crestchristopher@gmail.=
com>
wrote:

> Why don't I see any backup files, no matter what file I work with ?
>
> On Saturday, March 7, 2026 at 12:49:30=E2=80=AFPM UTC-5 badli al rashid w=
rote:
>
>> hi crestchristopher,
>>
>> try with your home folder.
>>
>> Sent from Gmail
>>
>> On Sat, Mar 7, 2026, 20:45 Christopher <[email protected]> wrote:
>>
>>> I'm trying to setup a backup directory; "backupdir"=3D//etc/.backup wit=
hin
>>> my vimrc although; no file is being written to this directory ?
>>>
>>> --
>>> --
>>> You received this message from the "vim_use" maillist.
>>> Do not top-post! Type your reply below the text you are replying to.
>>> For more information, visit http://www.vim.org/maillist.php
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "vim_use" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion visit
>>> https://groups.google.com/d/msgid/vim_use/2d4c7c1e-9437-4c49-aca8-bf1f2=
dadb3c1n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/vim_use/2d4c7c1e-9437-4c49-aca8-bf1f=
2dadb3c1n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>
>>> .
>>>
>> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/vim_use/c55613d7-5478-4cc6-8702-8fb47b0=
b70c2n%40googlegroups.com
> <https://groups.google.com/d/msgid/vim_use/c55613d7-5478-4cc6-8702-8fb47b=
0b70c2n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>
> .
>

--=20
--=20
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---=20
You received this message because you are subscribed to the Google Groups "=
vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_use/CA%=
2Bek4BFdcJQnfB1Dt7WMQFEFk0L5_Vs1SL-iFTswE34DNH-BYA%40mail.gmail.com.

--00000000000088816d064c7adfc1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello Christopher,</div><div><br></div><div>As Eric M=
arceau pointed out, the double=C2=A0forward slash (//) in the path (<span c=
lass=3D"gmail-im">&quot;backupdir&quot;=3D//etc/.backup)</span>=C2=A0might =
be a problem.</div><div><br></div><div>Also the double quotes in &quot;back=
updir&quot;=3D//etc/.backup might be a problem. I would use &quot;set backu=
pdir=3D/etc/.backup&quot; (without the double quotes) in the ~/.vimrc file =
or wherever=C2=A0your rc file is. I have something similar in my settings f=
ile: &quot;set bakupdir=3D/tmp&quot; (without the double quotes).</div><div=
><br></div><div>The other thing might be that you have to create the /etc/.=
backup directory, and you might need write permissions to that directory. I=
t is odd to use the=C2=A0/etc directory for this=C2=A0IMHO. It might be a g=
ood idea to move this to the home folder of your choosing (as Badli al Rash=
id has suggested). This can be something like ~/tmp/.backup or something el=
se...</div><div><br></div><div>Regards</div></div><br><div class=3D"gmail_q=
uote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, M=
ar 8, 2026 at 5:00=E2=80=AFAM Christopher &lt;<a href=3D"mailto:crestchrist=
[email protected]">[email protected]</a>&gt; wrote:<br></div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p=
x solid rgb(204,204,204);padding-left:1ex">Why don&#39;t I see any backup f=
iles, no matter what file I work with ?<br><br><div class=3D"gmail_quote"><=
div dir=3D"auto" class=3D"gmail_attr">On Saturday, March 7, 2026 at 12:49:3=
0=E2=80=AFPM UTC-5 badli al rashid wrote:<br></div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2=
04,204);padding-left:1ex"><div dir=3D"auto"><div><div>hi crestchristopher,<=
/div><div dir=3D"auto"><br></div><div dir=3D"auto">try with your home folde=
r.=C2=A0</div><div><br></div><div>Sent from Gmail</div><br><div class=3D"gm=
ail_quote"></div></div></div><div dir=3D"auto"><div><div class=3D"gmail_quo=
te"><div dir=3D"ltr" class=3D"gmail_attr">On Sat, Mar 7, 2026, 20:45 Christ=
opher &lt;<a rel=3D"nofollow">[email protected]</a>&gt; wrote:<br></div=
></div></div></div><div dir=3D"auto"><div><div class=3D"gmail_quote"><block=
quote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1=
px solid rgb(204,204,204);padding-left:1ex"><div>I&#39;m trying to setup a =
backup directory; &quot;backupdir&quot;=3D//etc/.backup within my vimrc alt=
hough; no file is being written to this directory ?</div><div><br></div>

<p></p></blockquote></div></div></div><div dir=3D"auto"><div><div class=3D"=
gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

-- <br>
-- <br>
You received this message from the &quot;vim_use&quot; maillist.<br>
Do not top-post! Type your reply below the text you are replying to.<br>
For more information, visit <a href=3D"http://www.vim.org/maillist.php" rel=
=3D"noreferrer nofollow" target=3D"_blank">http://www.vim.org/maillist.php<=
/a><br>
<br>
--- <br>
You received this message because you are subscribed to the Google Groups &=
quot;vim_use&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a rel=3D"noreferrer nofollow">[email protected]</a>.<b=
r>
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
vim_use/2d4c7c1e-9437-4c49-aca8-bf1f2dadb3c1n%40googlegroups.com?utm_medium=
=3Demail&amp;utm_source=3Dfooter" rel=3D"noreferrer nofollow" target=3D"_bl=
ank">https://groups.google.com/d/msgid/vim_use/2d4c7c1e-9437-4c49-aca8-bf1f=
2dadb3c1n%40googlegroups.com</a>.<br>
</blockquote></div></div></div>
</blockquote></div>

<p></p>

-- <br>
-- <br>
You received this message from the &quot;vim_use&quot; maillist.<br>
Do not top-post! Type your reply below the text you are replying to.<br>
For more information, visit <a href=3D"http://www.vim.org/maillist.php" tar=
get=3D"_blank">http://www.vim.org/maillist.php</a><br>
<br>
--- <br>
You received this message because you are subscribed to the Google Groups &=
quot;vim_use&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]" target=3D"_=
blank">[email protected]</a>.<br>
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
vim_use/c55613d7-5478-4cc6-8702-8fb47b0b70c2n%40googlegroups.com?utm_medium=
=3Demail&amp;utm_source=3Dfooter" target=3D"_blank">https://groups.google.c=
om/d/msgid/vim_use/c55613d7-5478-4cc6-8702-8fb47b0b70c2n%40googlegroups.com=
</a>.<br>
</blockquote></div>

<p></p>

-- <br />
-- <br />
You received this message from the &quot;vim_use&quot; maillist.<br />
Do not top-post! Type your reply below the text you are replying to.<br />
For more information, visit <a href=3D"http://www.vim.org/maillist.php">htt=
p://www.vim.org/maillist.php</a><br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;vim_use&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">vim_use+uns=
[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
vim_use/CA%2Bek4BFdcJQnfB1Dt7WMQFEFk0L5_Vs1SL-iFTswE34DNH-BYA%40mail.gmail.=
com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msg=
id/vim_use/CA%2Bek4BFdcJQnfB1Dt7WMQFEFk0L5_Vs1SL-iFTswE34DNH-BYA%40mail.gma=
il.com</a>.<br />

--00000000000088816d064c7adfc1--