Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7444309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:28:58+00:00 2026-05-29T11:28:58+00:00

I have a website with multiple folders that have different purposes on the site.

  • 0

I have a website with multiple folders that have different purposes on the site. Think

/
  /forum
  /drupal_site
  /contact
  /about_us

Now how should I handle backups for these? Should each folder have its own repository? Should there be one for the entire site? Is Git the way to go in the first place?

Does it not make a difference and is up to whatever is more convenient to me?

Is there any “standard” way to do this or each person does it differently?

Also should each of those folders have their own js css and img folders or should that be shared across the site (only in the root)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:28:59+00:00Added an answer on May 29, 2026 at 11:28 am

    You have the flexibility to do a few different things here, but I think starting your repo at the root / and tracking your files recursively is the way to go. Git will pick up the files in your subfolders.

    The key advantage to this is that you basically have snapshots of your entire app, and can easily checkout the repository when creating a development or staging environment.

    Git is great for managing the code changes, but I’d still suggest using something like rsync to backup the entire site every once in a while. That way, you can only track files that are going to change consistently (code, user generated content, etc) instead of backing up images/audio/other that are NOT going to be changed. Better to be safe than sorry 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If we have a website with multiple images and videos, I've read that it's
My issue is I have a website that is linking to multiple tables in
I have a multiple language website, that uses subdirectories from the root ('/en' for
I have a WordPress website that needs to have its articles in multiple languages.
I have an IIS website running an ASP.NET site but it has multiple applications
I have a website that calculates a users involvement/activity using multiple MySQL queries. For
Here is the situation, i have a website that can be accessed from multiple
I have a website with multiple folders and I was trying to fix them
We have a website application that is deployed and customised for multiple customers, across
I have a website that I am translating into different languages. I have the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.