dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse


Our Discord Notification Server invitation link is https://discord.gg/jB2qmRrxyD

Author Topic: Tailoring Clone for Dev-type Work  (Read 863 times)

Online Chip (OP)

  • Server Admin
  • Admin
  • Hero Member
  • ****
  • Administrator
  • *****
  • Restrictive
  • *
  • RC Discussion
  • **
  • Private
  • ***
  • Owner
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 7497
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 07:20:12 AM
  • Deeply Confused Learner
  • Profession: IT Engineer now retired
Tailoring Clone for Dev-type Work
« on: September 15, 2026, 01:32:53 AM »
πŸ“Ž Click on me to view all my attachments
ListAttBBC  |  v7.3.0  |  2026-10-26  |  Andrew.human & Claude.ai  |  live 07:25:49
#FileSizeDownloadsInfoDL
00webroot-recovery-transcript.md36 KB13ℹ️⬇️
01webroot-recovery-transcript.pdf  [native]  [pdf in chunks]89.7 KB41ℹ️⬇️
02Tailoring Clone for Dev-type Work - Transcript.md430.4 KB15ℹ️⬇️
03Tailoring Clone for Dev-type Work - Transcript.pdf  [native]  [pdf in chunks]640 KB50ℹ️⬇️
04mirror1.sh1.3 KB16ℹ️⬇️
05mirror4.sh836 B16ℹ️⬇️
06filedircmd389 B15ℹ️⬇️
07MIRROR.sh69 B16ℹ️⬇️
08unzip_tarball.sh45 B17ℹ️⬇️
09download_tarball.sh102 B15ℹ️⬇️
10gen_srdb.sh92 B14ℹ️⬇️
11db_links_convert_smf_all_v2.sh1.7 KB17ℹ️⬇️
12dblivesmf-copies.sh767 B18ℹ️⬇️
13gemini-code-1789448692095.sh72 B16ℹ️⬇️
14gemini-code-1789448665863.sh72 B14ℹ️⬇️
15gemini-code-1789448654551.sh33 B18ℹ️⬇️
16gemini-code-1789448650424.sh72 B14ℹ️⬇️
17gemini-code-1789448643464.sh65 B15ℹ️⬇️
18gemini-code-1789448634931.sh44 B16ℹ️⬇️
19gemini-code-1789448627223.sh40 B19ℹ️⬇️
20gemini-code-1789448621178.md542 B15ℹ️⬇️
21conversation-transcript-2026-09-15.md28.1 KB14ℹ️⬇️
22conversation-transcript-2026-09-15.pdf  [native]  [pdf in chunks]80.3 KB54ℹ️⬇️
23SSH login delay on VMware guest - Claude.pdf  [native]  [pdf in chunks]778.5 KB31ℹ️⬇️
1. copy webroot from Live to Clone via a tarball & 2. copy/edit the databases

Live:

1.
# make the tarball
tar -czvpf /webroot.tar.gz /var/www/html

#check the tarball
sha256sum /webroot.tar.gz   (---> should generate a chksum string)
zcat /webroot.tar.gz | tar -tvf - | wc -l   (---> should generate a large number (of files)

2. "dbbacksmf"



Clone:

1.
# pull it from Live
rsync -av --partial --progress --inplace root@128.199.200.202:/webroot.tar.gz /webroot.tar.gz

# check it
gzip -t /webroot.tar.gz; echo "gzip test exit: $?"   (---> prints nothing and exits 0 if the compressed stream is sound)

# unzip it with one of the following:

# option 1: cd first, then tar the current directory
cd /var/www/html && tar -xzvpf /webroot.tar.gz

# option 2: use tar's -C flag (avoids the cd, safer for scripting)
tar -xzvpf /webroot.tar.gz -C /var/www/html

2.

# copy the DBs
dblivesmf-copies.sh

# edit the DBs
db_links_convert_smf_all_v2.sh



# then the incremental file updates later
mirror1.sh:

Code: [Select]
set -x

rsync -avzP --checksum -e ssh \
    --exclude index.html \
    --exclude manifest.json \
    --exclude private/ \
    --exclude cache/ \
    --exclude webalizer/ \
    --exclude smf20/cache/ \
    --exclude smf21/cache/ \
    --exclude Settings.php \
    --exclude Settings_bak.php \
    --exclude smf20/Settings.php \
    --exclude smf20/Settings_bak.php \
    --exclude smf21/Settings.php \
    --exclude smf21/Settings_bak.php \
    --exclude .htaccess \
    --exclude smf20/.htaccess \
    --exclude smf21/.htaccess \
    --exclude Settings_ISE.json \
    --exclude smf20/Settings_ISE.json \
    --exclude smf21/Settings_ISE.json \
    root@forum.drugs-and-users.org:/var/www/html/ \
    /var/www/html/

« Last Edit: September 28, 2026, 07:15:22 AM by smfadmin »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal