{"id":31715118,"url":"https://github.com/chmodshubham/backup-2-pendrive","last_synced_at":"2026-02-16T13:08:49.571Z","repository":{"id":182489482,"uuid":"668577291","full_name":"chmodshubham/backup-2-pendrive","owner":"chmodshubham","description":"How to take backup in your Pen Drive!","archived":false,"fork":false,"pushed_at":"2023-07-20T06:43:01.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T01:55:13.188Z","etag":null,"topics":["backup","pendrive"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chmodshubham.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-20T06:19:50.000Z","updated_at":"2023-07-20T06:59:38.000Z","dependencies_parsed_at":"2023-07-20T07:52:05.186Z","dependency_job_id":null,"html_url":"https://github.com/chmodshubham/backup-2-pendrive","commit_stats":null,"previous_names":["shubhamkumar89/backup-2-pendrive","chmodshubham/backup-2-pendrive"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chmodshubham/backup-2-pendrive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmodshubham%2Fbackup-2-pendrive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmodshubham%2Fbackup-2-pendrive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmodshubham%2Fbackup-2-pendrive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmodshubham%2Fbackup-2-pendrive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chmodshubham","download_url":"https://codeload.github.com/chmodshubham/backup-2-pendrive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chmodshubham%2Fbackup-2-pendrive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29508741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","pendrive"],"created_at":"2025-10-09T01:51:03.734Z","updated_at":"2026-02-16T13:08:49.537Z","avatar_url":"https://github.com/chmodshubham.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backup to Pen Drive\n\nTo send data from your server to a pen drive using the terminal, you can follow these steps:\n\n#### 1. Plug in your pen drive\n\n#### 2. Identify the pen drive\n\nUse the `lsblk` or `fdisk` command to identify your pen drive. The output will show a list of storage devices along with their mount points. Your pen drive will typically be listed as `/dev/sdb1`, `/dev/sdc1`, etc. depending on the number of storage devices connected to your server.\n\n   ```bash\n   lsblk\n   ```\n\n   or\n\n   ```bash\n   sudo fdisk -l\n   ```\n\n#### 3. Mount the pen drive\n\nIf your pen drive is not automatically mounted, you will need to manually mount it. First, create a mount point. This is a directory where your pen drive will be mounted:\n\n   ```bash\n   sudo mkdir /mnt/usb\n   ```\n\nThen, mount the pen drive to the directory you just created. Replace `/dev/sdb1` with the path that corresponds to your pen drive:\n\n   ```bash\n   sudo mount /dev/sdb1 /mnt/usb\n   ```\n\n#### 4. Transfer the data \n\nNow you can transfer data from your server to the pen drive. Use the `cp` command to copy files or directories. Replace `/path/to/your/data` with the path to the data you want to copy:\n\n   ```bash\n   sudo cp /path/to/your/data /mnt/usb\n   ```\n\n#### 5. Check the data\n\nYou can check if the data has been successfully copied:\n\n```bash\nls /mnt/usb\n```\n\n#### 6. Safely remove the pen drive\n\nBefore physically removing the pen drive, it's important to unmount it safely to prevent data corruption:\n\n   ```bash\n   sudo umount /mnt/usb\n   ```\n\nNow, you can safely remove the pen drive from your server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmodshubham%2Fbackup-2-pendrive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchmodshubham%2Fbackup-2-pendrive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchmodshubham%2Fbackup-2-pendrive/lists"}