Delete Data on your Ultra.cc service
Do note, we do not keep backups of your data. Please take care while deleting data, as it will not be recoverable once deleted. We take no responsibility for the data you delete.
In this guide, we will show you how to delete data on your Ultra.cc service. No matter what plan you have chosen for your service, you will have a limited amount of allocated storage. It is not possible to add extra storage available.to an active service without upgrading to a higher tier plan, more info can be found here.
If you happen to reach the maximum limit of your allocated storage, your webserver and applications will be temporarily taken offline. They will remain offline until you have freed up some storage space and restarted the applications. However, services such as FTP/SFTP and SSH will remain active and accessible, to facilitate a way of deleting data on your service.
Instructions
The fastest and simplest way of deleting all your data and resetting your service to a fresh state, is to use our unofficial factory reset script. More info can be found here. For a more granular control that allows deletion of individual files and folders, continue reading.
SSH
Before proceeding, make sure to set an FTP/SSH password under the Connect tab on the UCP.
- Connect to your Ultra.cc service via SSH
- Once connected, there are multiple ways of deleting your files and directories.
rm
command
The most basic way of deleting files and directories is by executing the rm
command.
- To delete a file, simply execute
rm ~/path/to/filename.mkv
- To delete a directory, simply execute
rm -rf ~/path/to/directory
- If your file or directory name includes spaces in their name, you must state the filename within apostrophes, quotation marks or by using escape sequence:
-
rm '~/path/to/file with space in name.mkv'
-
rm "~/path/to/file with space in name.mkv"
-
rm ~/path/to/file\ with\ spaces\ in\ name.mkv
-
- Lastly, to see which files are actually being deleted when you execute the
rm
command on a directory, you can include the verbose option:rm -rfv ~/path/to/directory
To delete files on your Ultra.cc service, there are two primary connection methods.
-
[EASIEST] FTP (File Transfer Protocol): To utilize FTP, we have a comprehensive document available at the following link: https://docs.usbx.me/books/file-transfer-protocol-%28ftp%29/page/connecting-to-your-ultracc-slot-with-ftp We recommend using Filezilla or WinSCP as FTP clients for this method. However, it is crucial to note that default directories or files such as
.apps, .bin, media, downloads, www, .profile
, and.bashrc
should never be removed. -
[ADVANCED] Shell (SSH) Access: We also have a detailed document on connecting to your Ultra.cc slot via SSH, which can be accessed here: https://docs.usbx.me/books/secure-shell-%28ssh%29/page/how-to-connect-to-your-ultracc-slot-via-ssh Once you have logged into the shell, you can proceed to remove files using various approaches.
-
Midnight Commander: Instructions on using Midnight Commander can be found at: https://docs.ultra.cc/books/midnight-commander/page/midnight-commander
-
Ncurses Disk Utility: For utilizing the Ncurses Disk Utility aka
ncdu
, please refer to: https://docs.ultra.cc/books/ncdu/page/ncdu -
"rm" Command: The "rm" command, which stands for remove, allows you to delete files or directories you no longer wish to use. It is important to remember that Linux does not have a recycling bin, and any files deleted using this command are permanently lost. The syntax for using "rm" is similar to that of the "cp" command. For instance, if you want to remove a file named "Movie1.mkv," you can simply type: "rm Movie1.mkv". In case you wish to remove an entire directory, you need to use the "-r" flag, such as "rm -r media" to delete the entire media directory. If you want to remove all files within the media directory, you can use "rm media/" or "rm -r media/" if there are subdirectories within the media folder.