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

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: rsync "attachments" files - sync live system to dev. system  (Read 17906 times)

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 7080
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 07:40:29 AM
  • Deeply Confused Learner
  • Profession: IT Engineer now retired and now acting as a Systems Theorist
since you just backed up the database with phpMyAdmin, don't forget that some files change as well, so sync the live system to the dev. system via rsync PULL command: (run cmd on dev.): rsync -zpaAXPv root@forum.drugs-and-users.org:/var/www/html/attachments/ /var/www/html/attachments/

see /bin/rsync-smf-attachments (chmod +x):

echo "sync smf attachments from prod to dev."
rsync -zpaAXPv root@forum.drugs-and-users.org:/var/www/html/attachments/ /var/www/html/attachments/
« Last Edit: June 29, 2015, 11:28:37 PM by Chipper »
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:
 

Related Topics

  Subject / Started by Replies Last post
0 Replies
11897 Views
Last post September 01, 2015, 06:15:36 AM
by Chip
5 Replies
17484 Views
Last post July 09, 2016, 10:48:45 PM
by Chip
3 Replies
13020 Views
Last post November 10, 2015, 01:47:49 PM
by Chip
3 Replies
22998 Views
Last post August 17, 2018, 05:48:29 PM
by Chip
8 Replies
14919 Views
Last post March 26, 2016, 12:10:56 PM
by Guts
0 Replies
10566 Views
Last post May 27, 2019, 10:58:02 PM
by Chip
0 Replies
13123 Views
Last post June 14, 2019, 06:09:31 PM
by Chip
0 Replies
17147 Views
Last post July 09, 2019, 06:07:05 AM
by Chip
0 Replies
13181 Views
Last post February 04, 2024, 04:40:39 PM
by Chip
0 Replies
3701 Views
Last post December 24, 2024, 06:17:11 AM
by Chip


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